Mercurial > libavcodec.hg
comparison mjpegdec.c @ 10672:2aab93afc826 libavcodec
(Partly) support Metasoft MJPEG Codec, fixes half of issue 1611.
author | cehoyos |
---|---|
date | Thu, 10 Dec 2009 23:06:23 +0000 |
parents | 26f4a5a07f7e |
children | d99420b73262 |
comparison
equal
deleted
inserted
replaced
10671:3ef57f4fa579 | 10672:2aab93afc826 |
---|---|
1180 // printf("mjpeg: workarounding buggy AVID\n"); | 1180 // printf("mjpeg: workarounding buggy AVID\n"); |
1181 } | 1181 } |
1182 else if(!strcmp(cbuf, "CS=ITU601")){ | 1182 else if(!strcmp(cbuf, "CS=ITU601")){ |
1183 s->cs_itu601= 1; | 1183 s->cs_itu601= 1; |
1184 } | 1184 } |
1185 else if(len > 20 && !strncmp(cbuf, "Intel(R) JPEG Library", 21)){ | 1185 else if((len > 20 && !strncmp(cbuf, "Intel(R) JPEG Library", 21)) || |
1186 (len > 19 && !strncmp(cbuf, "Metasoft MJPEG Codec", 20))){ | |
1186 s->flipped = 1; | 1187 s->flipped = 1; |
1187 } | 1188 } |
1188 | 1189 |
1189 av_free(cbuf); | 1190 av_free(cbuf); |
1190 } | 1191 } |