Browse Source

Replace deprecated FF_I_TYPE with AV_PICTURE_TYPE_I in v308 and yuv4.

Found-by: Paul B Mahol
tags/n0.10
Carl Eugen Hoyos 14 years ago
parent
commit
84ce58faf5
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      libavcodec/v308dec.c
  2. +1
    -1
      libavcodec/v308enc.c
  3. +1
    -1
      libavcodec/yuv4dec.c
  4. +1
    -1
      libavcodec/yuv4enc.c

+ 1
- 1
libavcodec/v308dec.c View File

@@ -62,7 +62,7 @@ static int v308_decode_frame(AVCodecContext *avctx, void *data,
}

pic->key_frame = 1;
pic->pict_type = FF_I_TYPE;
pic->pict_type = AV_PICTURE_TYPE_I;

y = pic->data[0];
u = pic->data[1];


+ 1
- 1
libavcodec/v308enc.c View File

@@ -56,7 +56,7 @@ static int v308_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 = pic->data[0];
u = pic->data[1];


+ 1
- 1
libavcodec/yuv4dec.c View File

@@ -60,7 +60,7 @@ static int yuv4_decode_frame(AVCodecContext *avctx, void *data,
}

pic->key_frame = 1;
pic->pict_type = FF_I_TYPE;
pic->pict_type = AV_PICTURE_TYPE_I;

y = pic->data[0];
u = pic->data[1];


+ 1
- 1
libavcodec/yuv4enc.c View File

@@ -50,7 +50,7 @@ static int yuv4_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 = pic->data[0];
u = pic->data[1];


Loading…
Cancel
Save