summaryrefslogtreecommitdiff
path: root/libavformat/yuv4mpegdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-29 21:55:02 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-29 21:55:02 +0100
commitc2ad22ff9934eb9324ad8be98f0f5790e4947859 (patch)
treef736cbca83414ca9b15d2e61f53ec4ed18c1e0dc /libavformat/yuv4mpegdec.c
parente18e5ae62ce29c51a80441369d6d036d171a8d13 (diff)
parent08fa34bf75942f66796d770ff42a3721b2e3d2d4 (diff)
downloadffmpeg-c2ad22ff9934eb9324ad8be98f0f5790e4947859.tar.gz
Merge commit '08fa34bf75942f66796d770ff42a3721b2e3d2d4'
* commit '08fa34bf75942f66796d770ff42a3721b2e3d2d4': yuv4mpegdec: initialize field_order in yuv4_read_header() Conflicts: libavformat/yuv4mpegdec.c See: 52a17972defa118705a4020a6d0bb3ad277df819 Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/yuv4mpegdec.c')
-rw-r--r--libavformat/yuv4mpegdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/yuv4mpegdec.c b/libavformat/yuv4mpegdec.c
index 6d94a5908a..7613c3cdc3 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;
- AVStream *st;
enum AVFieldOrder field_order = AV_FIELD_UNKNOWN;
+ AVStream *st;
for (i = 0; i < MAX_YUV4_HEADER; i++) {
header[i] = avio_r8(pb);