Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-03-29 17:03:44 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-03-29 18:06:15 +0300
commit7888ae8266d8f721cc443fe3aa627d350ca01204 (patch)
treea74cd26e523ce6a7ed11a86cd10fd90196c469d8 /libavcodec/cfhd.c
parentd5a3578350a3901a26df39df196bb085760ec46f (diff)
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>
Diffstat (limited to 'libavcodec/cfhd.c')
-rw-r--r--libavcodec/cfhd.c2
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);
}