]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vp56.c
libxvid: Add const qualifier to silence compiler warning.
[ffmpeg] / libavcodec / vp56.c
index 63373d31d7450ebaf2aa0f3f9c9b6f5364c779d3..a1819783349db6af6a752aca9d8d868841999122 100644 (file)
@@ -526,12 +526,12 @@ int ff_vp56_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
         }
 
         if (p->key_frame) {
-            p->pict_type = FF_I_TYPE;
+            p->pict_type = AV_PICTURE_TYPE_I;
             s->default_models_init(s);
             for (block=0; block<s->mb_height*s->mb_width; block++)
                 s->macroblocks[block].type = VP56_MB_INTRA;
         } else {
-            p->pict_type = FF_P_TYPE;
+            p->pict_type = AV_PICTURE_TYPE_P;
             vp56_parse_mb_type_models(s);
             s->parse_vector_models(s);
             s->mb_type = VP56_MB_INTER_NOVEC_PF;