changeset 1178:1516dadb3bc1 libavformat

fix playback of theora.ogg on mphq patch by (matthieu castet %% castet dat matthieu ot free dat fr %%)
author michael
date Mon, 17 Jul 2006 10:44:53 +0000
parents 372d645a6bc0
children 6b79be0860e3
files oggparsetheora.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/oggparsetheora.c	Thu Jul 13 23:10:01 2006 +0000
+++ b/oggparsetheora.c	Mon Jul 17 10:44:53 2006 +0000
@@ -75,7 +75,7 @@
 
         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);