Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com>
---
What do we need this program for anyway? What sense does it make to
create a single program containing all streams?

 libavformat/dashdec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index 55212661be..4f87ef981b 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -2137,6 +2137,7 @@ static int dash_read_header(AVFormatContext *s)
         AVProgram *program;
         program = av_new_program(s, 0);
         if (!program) {
+            ret = AVERROR(ENOMEM);
             goto fail;
         }
 
-- 
2.25.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to