]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/yop.c
Merge commit '10db1a9bca46b0f760a1263d47142b2f57e195d7'
[ffmpeg] / libavcodec / yop.c
index 807e1706af9f54a464517c70137991c1ddadabaa..6315add0c9e034d0169c16121e05320a6da04400 100644 (file)
@@ -118,6 +118,8 @@ static av_cold int yop_decode_init(AVCodecContext *avctx)
     }
 
     s->frame = av_frame_alloc();
+    if (!s->frame)
+        return AVERROR(ENOMEM);
 
     return 0;
 }