Commit a1cc3c4e authored by michael's avatar michael

10l


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3495 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 674edc39
...@@ -46,8 +46,9 @@ static const IdStrMap img_tags[] = { ...@@ -46,8 +46,9 @@ static const IdStrMap img_tags[] = {
static enum CodecID av_str2id(const IdStrMap *tags, const char *str) static enum CodecID av_str2id(const IdStrMap *tags, const char *str)
{ {
while(*str && *str!='.') str++; str= strrchr(str, '.');
if(*str) str++; if(!str) return CODEC_ID_NONE;
str++;
while (tags->id) { while (tags->id) {
int i; 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