diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-03-29 16:03:44 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-07-25 13:57:00 +0200 |
commit | 099c8b66445f67048dbdb088f37435ed065fe364 (patch) | |
tree | 6471d569e4544ca4019458a9816bf796a2396e38 | |
parent | 61d95c500d9ea01f6262aff8533e52b897ed0ddb (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.c | 2 |
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); } |