[FFmpeg-cvslog] lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_I

Anton Khirnov git at videolan.org
Fri Jan 13 01:41:23 CET 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Jan 12 09:29:43 2012 +0100| [f3d02a8b280e189bb59db0f194d224bffd4db573] | committer: Anton Khirnov

lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_I

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f3d02a8b280e189bb59db0f194d224bffd4db573
---

 libavcodec/v410dec.c |    2 +-
 libavcodec/v410enc.c |    2 +-
 libavcodec/vble.c    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/v410dec.c b/libavcodec/v410dec.c
index 54c9595..a6f236b 100644
--- a/libavcodec/v410dec.c
+++ b/libavcodec/v410dec.c
@@ -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];
diff --git a/libavcodec/v410enc.c b/libavcodec/v410enc.c
index 11c6abc..a6b3ddb 100644
--- a/libavcodec/v410enc.c
+++ b/libavcodec/v410enc.c
@@ -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];
diff --git a/libavcodec/vble.c b/libavcodec/vble.c
index fa205f5..574582a 100644
--- a/libavcodec/vble.c
+++ b/libavcodec/vble.c
@@ -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);



More information about the ffmpeg-cvslog mailing list