[FFmpeg-cvslog] img2: 10l typo
Michael Niedermayer
git at videolan.org
Wed Dec 7 03:21:51 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Dec 7 03:19:42 2011 +0100| [76d7d1b0bd64ea5b6bd243d8b8d8dad156ae0bce] | committer: Michael Niedermayer
img2: 10l typo
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=76d7d1b0bd64ea5b6bd243d8b8d8dad156ae0bce
---
libavformat/img2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/img2.c b/libavformat/img2.c
index 00c5013..98397f4 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)
More information about the ffmpeg-cvslog
mailing list