From 7888ae8266d8f721cc443fe3aa627d350ca01204 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Tue, 29 Mar 2016 16:03:44 +0200 Subject: [PATCH] cfhd: Do not initialize context size Otherwise probing and stream analisys will report a correct coded size but an empty visible size. Approved by: kieran Signed-off-by: Michael Niedermayer --- libavcodec/cfhd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index a33cc715b1..d3695689a9 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -43,8 +43,6 @@ static av_cold int cfhd_decode_init(AVCodecContext *avctx) avctx->bits_per_raw_sample = 10; s->avctx = avctx; - avctx->width = 0; - avctx->height = 0; return ff_cfhd_init_vlcs(s); } -- 2.11.0