From 116d866ca5052ab3d50b2ead7acf5f63c945c273 Mon Sep 17 00:00:00 2001 From: Matthieu Castet Date: Mon, 17 Jul 2006 10:44:53 +0000 Subject: 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 --- libavformat/oggparsetheora.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/oggparsetheora.c') 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); -- cgit v1.2.3