projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1953105
)
try avi video name -> codec_id mapping if the mov one has no match
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 25 Jan 2006 16:04:31 +0000
(16:04 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 25 Jan 2006 16:04:31 +0000
(16:04 +0000)
Originally committed as revision 4896 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
216f5e6
..
50f091c
100644
(file)
--- a/
libavformat/mov.c
+++ b/
libavformat/mov.c
@@
-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 */
id = codec_get_id(mov_video_tags, format);
+ if(id <= 0)
+ id = codec_get_id(codec_bmp_tags, format);
if (id >= 0) {
AVCodec *codec;
codec = avcodec_find_decoder(id);