Signed-off-by: Andreas Rheinhardt <[email protected]>
---
Will apply soon and backport.
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)
--
2.32.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".