Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-03-14 13:45:40 +0400
committerPaul B Mahol <onemda@gmail.com>2013-03-14 13:47:47 +0400
commit4853b5538f416ba4d519244fde8c14f2ff75e07b (patch)
tree20039a52334e3c98ad56ed69de4ddea69a4a5d1a /libavcodec/y41penc.c
parentfe898a037d99108b3d2ca29bb1d69887566d278d (diff)
lavc: do not set coded_frame->reference
That field is deprecated. Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/y41penc.c')
-rw-r--r--libavcodec/y41penc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/y41penc.c b/libavcodec/y41penc.c
index f0c212ba2a..1a8f0fb8f9 100644
--- a/libavcodec/y41penc.c
+++ b/libavcodec/y41penc.c
@@ -51,7 +51,6 @@ static int y41p_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 1.5)) < 0)
return ret;
- avctx->coded_frame->reference = 0;
avctx->coded_frame->key_frame = 1;
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
dst = pkt->data;