diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-06-14 21:27:00 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-06-22 13:16:53 +0200 |
commit | dc4af87d2faf30a64be802691b7d16f3707a8f40 (patch) | |
tree | 69fb2d70b1b0996096becd4198424ac9facbabbe /libavformat/mpl2dec.c | |
parent | 7256c363a0d06ae7f33406daeddca7ac1fd96146 (diff) | |
download | ffmpeg-dc4af87d2faf30a64be802691b7d16f3707a8f40.tar.gz |
avformat/mpl2dec: Avoid variable that is always zero
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/mpl2dec.c')
-rw-r--r-- | libavformat/mpl2dec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/mpl2dec.c b/libavformat/mpl2dec.c index bea258d9e9..38445c7aad 100644 --- a/libavformat/mpl2dec.c +++ b/libavformat/mpl2dec.c @@ -83,7 +83,6 @@ static int mpl2_read_header(AVFormatContext *s) { MPL2Context *mpl2 = s->priv_data; AVStream *st = avformat_new_stream(s, NULL); - int res = 0; if (!st) return AVERROR(ENOMEM); @@ -122,7 +121,7 @@ static int mpl2_read_header(AVFormatContext *s) } ff_subtitles_queue_finalize(s, &mpl2->q); - return res; + return 0; } static int mpl2_read_packet(AVFormatContext *s, AVPacket *pkt) |