1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

oggdec: print error on changing streams when its unsupported.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-05-04 13:53:34 +02:00
parent 6fd478062c
commit 251ce23165

View File

@ -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);