diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-01-28 14:41:00 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-01-29 15:26:33 +0000 |
commit | 08fa34bf75942f66796d770ff42a3721b2e3d2d4 (patch) | |
tree | ad7403f3dd95777140e3de7b60e86834db8a8341 /libavformat/yuv4mpegdec.c | |
parent | 302ca6b20ed01ac584f5b15d5bca3d3a92b7a77a (diff) | |
download | ffmpeg-08fa34bf75942f66796d770ff42a3721b2e3d2d4.tar.gz |
yuv4mpegdec: initialize field_order in yuv4_read_header()
CC: libav-stable@libav.org
Bug-Id: CID 1265721
Diffstat (limited to 'libavformat/yuv4mpegdec.c')
-rw-r--r-- | libavformat/yuv4mpegdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/yuv4mpegdec.c b/libavformat/yuv4mpegdec.c index e5c4456ed7..dd81358608 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); |