diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-03-14 09:45:40 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-03-14 09:47:47 +0000 |
commit | 4853b5538f416ba4d519244fde8c14f2ff75e07b (patch) | |
tree | 20039a52334e3c98ad56ed69de4ddea69a4a5d1a /libavcodec/yuv4enc.c | |
parent | fe898a037d99108b3d2ca29bb1d69887566d278d (diff) | |
download | ffmpeg-4853b5538f416ba4d519244fde8c14f2ff75e07b.tar.gz |
lavc: do not set coded_frame->reference
That field is deprecated.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/yuv4enc.c')
-rw-r--r-- | libavcodec/yuv4enc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/yuv4enc.c b/libavcodec/yuv4enc.c index 340310a8ab..6e2f9bc0db 100644 --- a/libavcodec/yuv4enc.c +++ b/libavcodec/yuv4enc.c @@ -46,7 +46,6 @@ static int yuv4_encode_frame(AVCodecContext *avctx, AVPacket *pkt, return ret; dst = pkt->data; - avctx->coded_frame->reference = 0; avctx->coded_frame->key_frame = 1; avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; |