mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
avcodec/libx265: fix else clause when zeroing reordered_opaque
CC libavcodec/libx265.o libavcodec/libx265.c: In function ‘libx265_encode_frame’: libavcodec/libx265.c:781:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] else ^~~~ libavcodec/libx265.c:782:1: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ FF_DISABLE_DEPRECATION_WARNINGS ^~~ Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
5247dab6b1
commit
eee6492df7
@ -778,10 +778,11 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
||||
rd_release(ctx, idx);
|
||||
}
|
||||
#if FF_API_REORDERED_OPAQUE
|
||||
else
|
||||
else {
|
||||
FF_DISABLE_DEPRECATION_WARNINGS
|
||||
avctx->reordered_opaque = 0;
|
||||
FF_ENABLE_DEPRECATION_WARNINGS
|
||||
}
|
||||
#endif
|
||||
|
||||
*got_packet = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user