summaryrefslogtreecommitdiff
path: root/libavcodec/avuienc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-03-14 09:45:40 +0000
committerPaul B Mahol <onemda@gmail.com>2013-03-14 09:47:47 +0000
commit4853b5538f416ba4d519244fde8c14f2ff75e07b (patch)
tree20039a52334e3c98ad56ed69de4ddea69a4a5d1a /libavcodec/avuienc.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/avuienc.c')
-rw-r--r--libavcodec/avuienc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/avuienc.c b/libavcodec/avuienc.c
index 4428232c05..a4970a0f66 100644
--- a/libavcodec/avuienc.c
+++ b/libavcodec/avuienc.c
@@ -70,7 +70,6 @@ static int avui_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
dst += avctx->width * skip;
}
- avctx->coded_frame->reference = 0;
avctx->coded_frame->key_frame = 1;
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;