[FFmpeg-cvslog] oggdec: print error on changing streams when its unsupported.
Michael Niedermayer
git at videolan.org
Fri May 4 14:49:42 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri May 4 13:53:34 2012 +0200| [251ce231659333ad126e1f72c34c348551f3f2ef] | committer: Michael Niedermayer
oggdec: print error on changing streams when its unsupported.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=251ce231659333ad126e1f72c34c348551f3f2ef
---
libavformat/oggdec.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index e93a689..d9a30c4 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);
More information about the ffmpeg-cvslog
mailing list