lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_I

pull/3/head
Anton Khirnov 13 years ago
parent a29c25a9b2
commit f3d02a8b28
  1. 2
      libavcodec/v410dec.c
  2. 2
      libavcodec/v410enc.c
  3. 2
      libavcodec/vble.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];

@ -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];

@ -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);

Loading…
Cancel
Save