forked from FFmpeg/FFmpeg
try avi video name -> codec_id mapping if the mov one has no match
Originally committed as revision 4896 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1953105102
commit
378251ad08
1 changed files with 2 additions and 0 deletions
|
@ -919,6 +919,8 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
|
||||||
|
|
||||||
/* for MPEG4: set codec type by looking for it */
|
/* for MPEG4: set codec type by looking for it */
|
||||||
id = codec_get_id(mov_video_tags, format);
|
id = codec_get_id(mov_video_tags, format);
|
||||||
|
if(id <= 0)
|
||||||
|
id = codec_get_id(codec_bmp_tags, format);
|
||||||
if (id >= 0) {
|
if (id >= 0) {
|
||||||
AVCodec *codec;
|
AVCodec *codec;
|
||||||
codec = avcodec_find_decoder(id);
|
codec = avcodec_find_decoder(id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue