[FFmpeg-cvslog] r21693 - trunk/libavformat/oggdec.c
reimar
subversion
Mon Feb 8 21:25:36 CET 2010
Author: reimar
Date: Mon Feb 8 21:25:36 2010
New Revision: 21693
Log:
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.
Modified:
trunk/libavformat/oggdec.c
Modified: trunk/libavformat/oggdec.c
==============================================================================
--- trunk/libavformat/oggdec.c Mon Feb 8 19:48:12 2010 (r21692)
+++ trunk/libavformat/oggdec.c Mon Feb 8 21:25:36 2010 (r21693)
@@ -370,10 +370,10 @@ ogg_packet (AVFormatContext * s, int *st
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;
More information about the ffmpeg-cvslog
mailing list