Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-04 15:53:34 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-05-04 16:40:22 +0400
commit251ce231659333ad126e1f72c34c348551f3f2ef (patch)
tree819e099f298aadcdf4b166dfcd7c61d9668d6c3a /libavformat/oggdec.c
parent6fd478062c9c582389ed8b1de9806f5848e64769 (diff)
oggdec: print error on changing streams when its unsupported.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/oggdec.c')
-rw-r--r--libavformat/oggdec.c4
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);