diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-09-28 09:55:44 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-09-28 09:55:44 +0000 |
commit | 30667f42f5c57914a3c0735b56e173b5a0865958 (patch) | |
tree | 3610cb86528aa2e161e9ebbb24131ec2d11ce356 /libavformat | |
parent | a5cd3c48fb5fffd871b21f25347eee17f195772e (diff) | |
download | ffmpeg-30667f42f5c57914a3c0735b56e173b5a0865958.tar.gz |
pads stream
Originally committed as revision 3531 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/avidec.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 2de340c818..156b255ec1 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -270,7 +270,13 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) codec_type = CODEC_TYPE_DATA; //CODEC_TYPE_SUB ? FIXME url_fskip(pb, size - 8); break; + case MKTAG('p', 'a', 'd', 's'): + codec_type = CODEC_TYPE_UNKNOWN; + url_fskip(pb, size - 8); + stream_index--; + break; default: + av_log(s, AV_LOG_ERROR, "unknown stream type %X\n", tag1); goto fail; } break; |