|
@@ -389,6 +389,9 @@ static int ogg_read_page(AVFormatContext *s, int *sid) |
|
|
avio_skip(bc, 8); /* seq, crc */ |
|
|
avio_skip(bc, 8); /* seq, crc */ |
|
|
nsegs = avio_r8(bc); |
|
|
nsegs = avio_r8(bc); |
|
|
|
|
|
|
|
|
|
|
|
if (avio_feof(bc)) |
|
|
|
|
|
return AVERROR_EOF; |
|
|
|
|
|
|
|
|
idx = ogg_find_stream(ogg, serial); |
|
|
idx = ogg_find_stream(ogg, serial); |
|
|
if (idx < 0) { |
|
|
if (idx < 0) { |
|
|
if (data_packets_seen(ogg)) |
|
|
if (data_packets_seen(ogg)) |
|
|