diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-04 15:53:34 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-04 16:40:22 +0400 |
commit | 251ce231659333ad126e1f72c34c348551f3f2ef (patch) | |
tree | 819e099f298aadcdf4b166dfcd7c61d9668d6c3a | |
parent | 6fd478062c9c582389ed8b1de9806f5848e64769 (diff) |
oggdec: print error on changing streams when its unsupported.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/oggdec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index e93a689f90..d9a30c423b 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -255,8 +255,10 @@ static int ogg_read_page(AVFormatContext *s, int *str) if (ogg->headers) { int n; - if (ogg->nstreams != 1) + if (ogg->nstreams != 1) { + av_log_missing_feature(s, "Changing stream parameters in multistream ogg is", 0); return idx; + } for (n = 0; n < ogg->nstreams; n++) { av_freep(&ogg->streams[n].buf); |