History

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 ^~~

Marton Balint committed 3 years ago

Commit eee64921 parent 5247dab1 file · +2 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/libx265.c+2−1
@@ -778,10 +778,11 @@ FF_ENABLE_DEPRECATION_WARNINGS · 777 unmodified lines
778 rd_release(ctx, idx);778 rd_release(ctx, idx);
779 }779 }
780#if FF_API_REORDERED_OPAQUE780#if FF_API_REORDERED_OPAQUE
781 else781 else {
782FF_DISABLE_DEPRECATION_WARNINGS782FF_DISABLE_DEPRECATION_WARNINGS
783 avctx->reordered_opaque = 0;783 avctx->reordered_opaque = 0;
784FF_ENABLE_DEPRECATION_WARNINGS784FF_ENABLE_DEPRECATION_WARNINGS
785 }
785#endif786#endif
786 787
787 *got_packet = 1;788 *got_packet = 1;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t