diff options
Diffstat (limited to 'video/decode/lavc_dr1.c')
-rw-r--r-- | video/decode/lavc_dr1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/decode/lavc_dr1.c b/video/decode/lavc_dr1.c index 15fc44a445..a8de29eb1a 100644 --- a/video/decode/lavc_dr1.c +++ b/video/decode/lavc_dr1.c @@ -136,8 +136,8 @@ static int alloc_buffer(FramePool *pool, AVCodecContext *s) int mp_codec_get_buffer(AVCodecContext *s, AVFrame *frame) { - sh_video_t *sh = s->opaque; - struct lavc_ctx *ctx = sh->context; + struct dec_video *vd = s->opaque; + struct lavc_ctx *ctx = vd->priv; if (!ctx->dr1_buffer_pool) { ctx->dr1_buffer_pool = av_mallocz(sizeof(*ctx->dr1_buffer_pool)); |