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:
parent
6fd478062c
commit
251ce23165
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user