diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-03-29 16:03:44 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-03-29 17:06:15 +0200 |
commit | 7888ae8266d8f721cc443fe3aa627d350ca01204 (patch) | |
tree | a74cd26e523ce6a7ed11a86cd10fd90196c469d8 | |
parent | d5a3578350a3901a26df39df196bb085760ec46f (diff) | |
download | ffmpeg-7888ae8266d8f721cc443fe3aa627d350ca01204.tar.gz |
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>
-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 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); } |