Commit 7888ae82 authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Michael Niedermayer

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: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent d5a35783
...@@ -43,8 +43,6 @@ static av_cold int cfhd_decode_init(AVCodecContext *avctx) ...@@ -43,8 +43,6 @@ static av_cold int cfhd_decode_init(AVCodecContext *avctx)
avctx->bits_per_raw_sample = 10; avctx->bits_per_raw_sample = 10;
s->avctx = avctx; s->avctx = avctx;
avctx->width = 0;
avctx->height = 0;
return ff_cfhd_init_vlcs(s); return ff_cfhd_init_vlcs(s);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment