ffmpeg | branch: release/5.0 | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Sun Jan 9 15:50:57 2022 +0100| [0acca1791ee3180726d850c40b8bba2937502c3b] | committer: Andreas Rheinhardt
avformat/amr: Return error upon error Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> (cherry picked from commit abc7d1c697e0dbe463ca6632e45142ae72d139a9) > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0acca1791ee3180726d850c40b8bba2937502c3b --- libavformat/amr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/amr.c b/libavformat/amr.c index 40d5bc9cc5..bc22c2f84f 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -91,7 +91,7 @@ static int amr_read_header(AVFormatContext *s) read = avio_read(pb, header, sizeof(header)); if (read < 0) - return ret; + return read; st = avformat_new_stream(s, NULL); if (!st) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".