[FFmpeg-cvslog] utvideoenc/v410enc: do not set AVFrame.reference.
Anton Khirnov
git at videolan.org
Tue Jan 29 14:39:22 CET 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Jan 7 11:39:56 2013 +0100| [231fd1ed3932909a259da6df52fa3f756646aa3e] | committer: Anton Khirnov
utvideoenc/v410enc: do not set AVFrame.reference.
That field will be deprecated.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=231fd1ed3932909a259da6df52fa3f756646aa3e
---
libavcodec/utvideoenc.c | 1 -
libavcodec/v410enc.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/libavcodec/utvideoenc.c b/libavcodec/utvideoenc.c
index 085c415..0df3fb7 100644
--- a/libavcodec/utvideoenc.c
+++ b/libavcodec/utvideoenc.c
@@ -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;
diff --git a/libavcodec/v410enc.c b/libavcodec/v410enc.c
index cc7cef7..7bb70fd 100644
--- a/libavcodec/v410enc.c
+++ b/libavcodec/v410enc.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list