diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-08-22 23:24:38 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-23 20:00:03 +0200 |
commit | 9aaac0410767a1e45a60c535b10e913690b0fcc1 (patch) | |
tree | 6ff77e6b3301fffadb9781f69718d6827b3f17b1 /libavdevice | |
parent | 6be5b05fb1348823e1edb5e4d6f8bf3026ed7172 (diff) | |
download | ffmpeg-9aaac0410767a1e45a60c535b10e913690b0fcc1.tar.gz |
avdevice/lavfi: fix self assignment warning
FAIL(ret) expands to statements including a silly ret=ret.
This triggers a -Wself-assign on confirmed clang 3.6, and so we fix it.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/lavfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index d92e2996fd..3453b4d3e7 100644 --- a/libavdevice/lavfi.c +++ b/libavdevice/lavfi.c @@ -337,7 +337,7 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx) } if ((ret = create_subcc_streams(avctx)) < 0) - FAIL(ret); + goto end; if (!(lavfi->decoded_frame = av_frame_alloc())) FAIL(AVERROR(ENOMEM)); |