* Add MIME to extension mapping for quicktime and 3gpp video files.
This commit is contained in:
parent
9c83541dc6
commit
8d228d6c5b
@ -251,6 +251,10 @@ mime_to_ext(const char * mime, char * buf)
|
|||||||
strcpy(buf, "flv");
|
strcpy(buf, "flv");
|
||||||
else if( strcmp(mime+6, "vnd.dlna.mpeg-tts") == 0 )
|
else if( strcmp(mime+6, "vnd.dlna.mpeg-tts") == 0 )
|
||||||
strcpy(buf, "mpg");
|
strcpy(buf, "mpg");
|
||||||
|
else if( strcmp(mime+6, "quicktime") == 0 )
|
||||||
|
strcpy(buf, "mov");
|
||||||
|
else if( strcmp(mime+6, "3gpp") == 0 )
|
||||||
|
strcpy(buf, "3gp");
|
||||||
else if( strcmp(mime+6, "x-tivo-mpeg") == 0 )
|
else if( strcmp(mime+6, "x-tivo-mpeg") == 0 )
|
||||||
strcpy(buf, "TiVo");
|
strcpy(buf, "TiVo");
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user