[FFmpeg-cvslog] cfhd: Do not initialize context size
Vittorio Giovara
git at videolan.org
Tue Mar 29 17:08:34 CEST 2016
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Tue Mar 29 16:03:44 2016 +0200| [7888ae8266d8f721cc443fe3aa627d350ca01204] | committer: 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: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7888ae8266d8f721cc443fe3aa627d350ca01204
---
libavcodec/cfhd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index a33cc71..d369568 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);
}
More information about the ffmpeg-cvslog
mailing list