Browse Source

lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_I

tags/n0.10
Anton Khirnov 13 years ago
parent
commit
f3d02a8b28
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      libavcodec/v410dec.c
  2. +1
    -1
      libavcodec/v410enc.c
  3. +1
    -1
      libavcodec/vble.c

+ 1
- 1
libavcodec/v410dec.c View 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];


+ 1
- 1
libavcodec/v410enc.c View 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];


+ 1
- 1
libavcodec/vble.c View 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);


Loading…
Cancel
Save