Originally committed as revision 3495 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 21 years ago
parent c4f8d5d9f9
commit 3ed0212929
  1. 5
      libavformat/img2.c

@ -46,8 +46,9 @@ static const IdStrMap img_tags[] = {
static enum CodecID av_str2id(const IdStrMap *tags, const char *str)
{
while(*str && *str!='.') str++;
if(*str) str++;
str= strrchr(str, '.');
if(!str) return CODEC_ID_NONE;
str++;
while (tags->id) {
int i;

Loading…
Cancel
Save