diff options
author | wm4 <wm4@nowhere> | 2016-12-18 12:27:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-12-18 12:28:09 +0100 |
commit | e57037dc952def5c2b2d2be7535052f94dfb9294 (patch) | |
tree | 9485bc062d901c8539bdd36b4698f401a0f1e3e1 /video | |
parent | 4bfec4279f758272e6d50b79edbcf2825f7afc56 (diff) |
ad_lavc, vd_lavc: don't set AVCodecContext.refcounted_frames
This field is (or should be) deprecated, and there's no need to set it
with the new API.
Diffstat (limited to 'video')
-rw-r--r-- | video/decode/vd_lavc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 4a25060081..cd3c611ebd 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -501,7 +501,6 @@ static void init_avctx(struct dec_video *vd, const char *decoder, avctx->pkt_timebase = ctx->codec_timebase; #endif - avctx->refcounted_frames = 1; ctx->pic = av_frame_alloc(); if (!ctx->pic) goto error; |