]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/motionpixels.c
Vivo demuxer
[ffmpeg] / libavcodec / motionpixels.c
index 471f63f5a576ebd69af904a3e250ec3300c6a9d8..73667130ac6e85d2fd4e4f92bd8a13bd9a857af2 100644 (file)
@@ -220,6 +220,8 @@ static void mp_decode_frame_helper(MotionPixelsContext *mp, GetBitContext *gb)
     YuvPixel p;
     int y, y0;
 
+    av_assert1(mp->changes_map[0]);
+
     for (y = 0; y < mp->avctx->height; ++y) {
         if (mp->changes_map[y * mp->avctx->width] != 0) {
             memset(mp->gradient_scale, 1, sizeof(mp->gradient_scale));