utvideoenc/v410enc: do not set AVFrame.reference.

That field will be deprecated.
This commit is contained in:
Anton Khirnov 2013-01-07 11:39:56 +01:00
parent e6b1c3bbe7
commit 231fd1ed39
2 changed files with 0 additions and 2 deletions

View File

@ -598,7 +598,6 @@ static int utvideo_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
* At least currently Ut Video is IDR only.
* Set flags accordingly.
*/
avctx->coded_frame->reference = 0;
avctx->coded_frame->key_frame = 1;
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;

View File

@ -56,7 +56,6 @@ static int v410_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
}
dst = pkt->data;
avctx->coded_frame->reference = 0;
avctx->coded_frame->key_frame = 1;
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;