projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a2b04
)
Make sure the header value used to avoid repeating headers on seeking to the
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Mon, 8 Feb 2010 20:25:36 +0000
(20:25 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Mon, 8 Feb 2010 20:25:36 +0000
(20:25 +0000)
start and to avoid initializing codecs with missing headers is set for all streams.
Fixes issue 1723.
Originally committed as revision 21693 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/oggdec.c
patch
|
blob
|
history
diff --git
a/libavformat/oggdec.c
b/libavformat/oggdec.c
index
3e1bf5d
..
306f462
100644
(file)
--- a/
libavformat/oggdec.c
+++ b/
libavformat/oggdec.c
@@
-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;