]> git.sesse.net Git - ffmpeg/commitdiff
lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_I
authorAnton Khirnov <anton@khirnov.net>
Thu, 12 Jan 2012 08:29:43 +0000 (09:29 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 12 Jan 2012 17:18:23 +0000 (18:18 +0100)
libavcodec/v410dec.c
libavcodec/v410enc.c
libavcodec/vble.c

index 54c95958265f5eb8d28e4c7d434dc66c03a8c244..a6f236bd6d7b01fd0691e4e231b826d84455cec0 100644 (file)
@@ -68,7 +68,7 @@ static int v410_decode_frame(AVCodecContext *avctx, void *data,
     }
 
     pic->key_frame = 1;
-    pic->pict_type = FF_I_TYPE;
+    pic->pict_type = AV_PICTURE_TYPE_I;
 
     y = (uint16_t *)pic->data[0];
     u = (uint16_t *)pic->data[1];
index 11c6abc88e1f3ed2d35e50ac70d36fa0dcd3de79..a6b3ddbf30fe7b5a97436b93d4b7d8a27fc7ce22 100644 (file)
@@ -57,7 +57,7 @@ static int v410_encode_frame(AVCodecContext *avctx, uint8_t *buf,
 
     avctx->coded_frame->reference = 0;
     avctx->coded_frame->key_frame = 1;
-    avctx->coded_frame->pict_type = FF_I_TYPE;
+    avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
 
     y = (uint16_t *)pic->data[0];
     u = (uint16_t *)pic->data[1];
index fa205f5982c063e3b5a524429e533796335106c4..574582af7b86338542db05b35f747b558ea072d3 100644 (file)
@@ -135,7 +135,7 @@ static int vble_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
 
     /* Set flags */
     pic->key_frame = 1;
-    pic->pict_type = FF_I_TYPE;
+    pic->pict_type = AV_PICTURE_TYPE_I;
 
     /* Version should always be 1 */
     version = AV_RL32(src);