summaryrefslogtreecommitdiff
path: root/libavformat/oggparsetheora.c
diff options
context:
space:
mode:
authorMatthieu Castet <castet.matthieu@free.fr>2006-07-17 10:44:53 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-07-17 10:44:53 +0000
commit116d866ca5052ab3d50b2ead7acf5f63c945c273 (patch)
tree68784f2da6b7ce730294389b328d44a2508067f0 /libavformat/oggparsetheora.c
parentae1dd8e1258c81f385ce7b4efdf62193f17f0165 (diff)
fix playback of theora.ogg on mphq patch by (matthieu castet %% castet dat matthieu ot free dat fr %%)
Originally committed as revision 5776 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggparsetheora.c')
-rw-r--r--libavformat/oggparsetheora.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggparsetheora.c b/libavformat/oggparsetheora.c
index fcd9dc132c..9052bbbea0 100644
--- a/libavformat/oggparsetheora.c
+++ b/libavformat/oggparsetheora.c
@@ -75,7 +75,7 @@ theora_header (AVFormatContext * s, int idx)
if (version >= 0x030400)
skip_bits(&gb, 164);
- else
+ else if (version >= 0x030200)
skip_bits(&gb, 64);
st->codec->time_base.den = get_bits(&gb, 32);
st->codec->time_base.num = get_bits(&gb, 32);