Commit f3d02a8b authored by Anton Khirnov's avatar Anton Khirnov

lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_I

parent a29c25a9
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment