]> git.sesse.net Git - ffmpeg/commitdiff
utvideoenc/v410enc: do not set AVFrame.reference.
authorAnton Khirnov <anton@khirnov.net>
Mon, 7 Jan 2013 10:39:56 +0000 (11:39 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 29 Jan 2013 06:32:21 +0000 (07:32 +0100)
That field will be deprecated.

libavcodec/utvideoenc.c
libavcodec/v410enc.c

index 085c415caa5b558975b205f7fd0726bf51ee44fe..0df3fb75d150fda37899e4deb541abd63bc5b20a 100644 (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;
 
index cc7cef7ea20f8359c235b9bdd8364c5bd79467c4..7bb70fd56a996e6ae98d5467676299bbdf718c85 100644 (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;