summaryrefslogtreecommitdiff
path: root/libavformat/img2.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-07 03:19:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-07 03:19:42 +0100
commit76d7d1b0bd64ea5b6bd243d8b8d8dad156ae0bce (patch)
tree9e1bfe53886b7f5ab80847732cef753293fc3c9f /libavformat/img2.c
parentc1e2ca1e31e4d244c0c16654bbc9d8964d21b99d (diff)
img2: 10l typo
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/img2.c')
-rw-r--r--libavformat/img2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/img2.c b/libavformat/img2.c
index 00c5013015..98397f4dcb 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -284,7 +284,7 @@ static int read_header(AVFormatContext *s1, AVFormatParameters *ap)
s->split_planes = str && !av_strcasecmp(str + 1, "y");
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
st->codec->codec_id = av_str2id(img_tags, s->path);
- if (st->codec->codec_id = CODEC_ID_LJPEG)
+ if (st->codec->codec_id == CODEC_ID_LJPEG)
st->codec->codec_id = CODEC_ID_MJPEG;
}
if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO && pix_fmt != PIX_FMT_NONE)