OSDN Git Service

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 54c9595..a6f236b 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 11c6abc..a6b3ddb 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 fa205f5..574582a 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);