Commit 3ed02129 authored by Michael Niedermayer's avatar Michael Niedermayer

10l

Originally committed as revision 3495 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c4f8d5d9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment