]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/truemotion2.c
wmavoice: Use proper size in memeset().
[ffmpeg] / libavcodec / truemotion2.c
index 6c3ed8ce56e7f1c36f169191564de91045c3481d..f9e607c4f784c3ac036d6e0f318d2fc9ec62536a 100644 (file)
@@ -807,9 +807,9 @@ static int decode_frame(AVCodecContext *avctx,
     }
     p->key_frame = tm2_decode_blocks(l, p);
     if(p->key_frame)
-        p->pict_type = FF_I_TYPE;
+        p->pict_type = AV_PICTURE_TYPE_I;
     else
-        p->pict_type = FF_P_TYPE;
+        p->pict_type = AV_PICTURE_TYPE_P;
 
     l->cur = !l->cur;
     *data_size = sizeof(AVFrame);