[FFmpeg-cvslog] yuv4mpegdec: initialize field_order in yuv4_read_header()
Vittorio Giovara
git at videolan.org
Thu Jan 29 22:01:53 CET 2015
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Jan 28 14:41:00 2015 +0000| [08fa34bf75942f66796d770ff42a3721b2e3d2d4] | committer: Vittorio Giovara
yuv4mpegdec: initialize field_order in yuv4_read_header()
CC: libav-stable at libav.org
Bug-Id: CID 1265721
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=08fa34bf75942f66796d770ff42a3721b2e3d2d4
---
libavformat/yuv4mpegdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/yuv4mpegdec.c b/libavformat/yuv4mpegdec.c
index e5c4456..dd81358 100644
--- a/libavformat/yuv4mpegdec.c
+++ b/libavformat/yuv4mpegdec.c
@@ -38,8 +38,8 @@ static int yuv4_read_header(AVFormatContext *s)
rated = 0, aspectn = 0, aspectd = 0;
enum AVPixelFormat pix_fmt = AV_PIX_FMT_NONE, alt_pix_fmt = AV_PIX_FMT_NONE;
enum AVChromaLocation chroma_sample_location = AVCHROMA_LOC_UNSPECIFIED;
+ enum AVFieldOrder field_order = AV_FIELD_UNKNOWN;
AVStream *st;
- enum AVFieldOrder field_order;
for (i = 0; i < MAX_YUV4_HEADER; i++) {
header[i] = avio_r8(pb);
More information about the ffmpeg-cvslog
mailing list