aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorFlorian Echtler <floe@butterbrot.org>2008-06-18 09:03:38 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-06-18 09:03:38 +0000
commit25176d6e22b8c92f47ca6713873b8168832c4353 (patch)
treef07fa11c5e6c1ed2ca83c3e28483509cbd4c6c2e /libavformat/avidec.c
parente3ec60d82a853a4de5568bfadcd72e3984095148 (diff)
downloadffmpeg-25176d6e22b8c92f47ca6713873b8168832c4353.tar.gz
Parse 'dats' as data.
Patch by Florian Echtler: floe butterbrot org Originally committed as revision 13801 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 257dc3188b..d88d475dee 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -415,6 +415,9 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
//FIXME
codec_type = CODEC_TYPE_DATA; //CODEC_TYPE_SUB ? FIXME
break;
+ case MKTAG('d', 'a', 't', 's'):
+ codec_type = CODEC_TYPE_DATA;
+ break;
default:
av_log(s, AV_LOG_ERROR, "unknown stream type %X\n", tag1);
goto fail;