Skip to content

Commit

Permalink
Dumb.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Jan 12, 2025
1 parent dd657c9 commit 86b9bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/segments/fft.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ int fft_segment_set(uint32_t field, void *value, struct mixed_segment *segment){
break;
case MIXED_FRAMESIZE:
{ uint32_t framesize = *(uint32_t *)value;
if(framesize <= 2 || 1<<13 < framesize || (framesize & (framesize - 1)) == 0){
if(framesize <= 2 || 1<<13 < framesize || (framesize & (framesize - 1)) != 0){
mixed_err(MIXED_INVALID_VALUE);
return 0;
}
Expand Down

0 comments on commit 86b9bc3

Please sign in to comment.