summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-03-29 16:03:44 +0200
committerAnton Khirnov <anton@khirnov.net>2016-07-25 13:57:00 +0200
commit099c8b66445f67048dbdb088f37435ed065fe364 (patch)
tree6471d569e4544ca4019458a9816bf796a2396e38
parent61d95c500d9ea01f6262aff8533e52b897ed0ddb (diff)
cfhd: Do not initialize context size
Otherwise probing and stream analysis will report a correct coded size but an empty visible size. Signed-off-by: Diego Biurrun <diego@biurrun.de>
-rw-r--r--libavcodec/cfhd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index b931d44033..7594e3b2ab 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -44,8 +44,6 @@ static av_cold int cfhd_init(AVCodecContext *avctx)
s->avctx = avctx;
avctx->bits_per_raw_sample = 10;
- avctx->width = 0;
- avctx->height = 0;
return ff_cfhd_init_vlcs(s);
}