Commit d7882940 authored by reimar's avatar reimar

Make sure the header value used to avoid repeating headers on seeking to the

start and to avoid initializing codecs with missing headers is set for all streams.
Fixes issue 1723.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21693 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6606efa8
......@@ -370,10 +370,10 @@ ogg_packet (AVFormatContext * s, int *str, int *dstart, int *dsize)
ogg->curidx = idx;
os->incomplete = 0;
if (os->header < 0){
if (!ogg->headers){
int hdr = os->codec->header (s, idx);
os->header = os->seq;
if (!hdr){
os->header = os->seq;
os->segp = segp;
os->psize = psize;
ogg->headers = 1;
......
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