Browse Source

utvideoenc/v410enc: do not set AVFrame.reference.

That field will be deprecated.
tags/n1.2
Anton Khirnov 12 years ago
parent
commit
231fd1ed39
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      libavcodec/utvideoenc.c
  2. +0
    -1
      libavcodec/v410enc.c

+ 0
- 1
libavcodec/utvideoenc.c 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;



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



Loading…
Cancel
Save