(Partly) support Metasoft MJPEG Codec, fixes half of issue 1611.
Originally committed as revision 20796 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f63e5a7410
commit
ab176fdffb
2 changed files with 3 additions and 1 deletions
|
|
@ -1182,7 +1182,8 @@ static int mjpeg_decode_com(MJpegDecodeContext *s)
|
|||
else if(!strcmp(cbuf, "CS=ITU601")){
|
||||
s->cs_itu601= 1;
|
||||
}
|
||||
else if(len > 20 && !strncmp(cbuf, "Intel(R) JPEG Library", 21)){
|
||||
else if((len > 20 && !strncmp(cbuf, "Intel(R) JPEG Library", 21)) ||
|
||||
(len > 19 && !strncmp(cbuf, "Metasoft MJPEG Codec", 20))){
|
||||
s->flipped = 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue