Mercurial > libavformat.hg
changeset 534:3846c006af2b libavformat
pads stream
author | michael |
---|---|
date | Tue, 28 Sep 2004 09:55:44 +0000 |
parents | 59da52e5f5a5 |
children | 8430e4610971 |
files | avidec.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/avidec.c Tue Sep 28 03:09:49 2004 +0000 +++ b/avidec.c Tue Sep 28 09:55:44 2004 +0000 @@ -270,7 +270,13 @@ 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;