Mercurial > libavformat.hg
changeset 913:97a083dcfb7b libavformat
try avi video name -> codec_id mapping if the mov one has no match
author | michael |
---|---|
date | Wed, 25 Jan 2006 16:04:31 +0000 |
parents | 844bc9093aa3 |
children | ef25e246c7f2 |
files | mov.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Tue Jan 24 10:33:14 2006 +0000 +++ b/mov.c Wed Jan 25 16:04:31 2006 +0000 @@ -919,6 +919,8 @@ /* 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);