diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-03-04 03:12:17 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-03 18:40:11 +0400 |
commit | 5b56ad03fa3c580e38322c902891a77ecc93686b (patch) | |
tree | e0ad41a78ddd4ffe29bff1558c4e761bce07fa9d /libavformat/avidec.c | |
parent | 15957b197a63d08c33c34f08ef8b161335736914 (diff) |
Reimplement stream probe try #2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 9ba1f5725e..b605c45d2b 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -652,7 +652,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) break; case AVMEDIA_TYPE_SUBTITLE: st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE; - st->codec->codec_id = CODEC_ID_PROBE; + st->request_probe= 1; break; default: st->codec->codec_type = AVMEDIA_TYPE_DATA; |