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 <michael@niedermayer.cc>
pull/193/head
Vittorio Giovara 9 years ago committed by Michael Niedermayer
parent d5a3578350
commit 7888ae8266
  1. 2
      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);
}

Loading…
Cancel
Save