mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
img2: 10l typo
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c1e2ca1e31
commit
76d7d1b0bd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user