mirror of https://git.ffmpeg.org/ffmpeg.git
10l
Originally committed as revision 3495 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c4f8d5d9f9
commit
3ed0212929
|
@ -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…
Reference in New Issue