Commit 251ce231 authored by Michael Niedermayer's avatar Michael Niedermayer

oggdec: print error on changing streams when its unsupported.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6fd47806
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment