Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75403 - libtheora doesn't work with -O3 in mplayer and xine
Summary: libtheora doesn't work with -O3 in mplayer and xine
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-22 21:44 UTC by Canek Peláez Valdés
Modified: 2005-02-06 09:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Canek Peláez Valdés 2004-12-22 21:44:23 UTC
Using optimization -O3 makes libtheora to doesn't work with neither MPlayer nor Xine, complaining about the theora header.

Reproducible: Always
Steps to Reproduce:
1. CFLAGS="-O3" emerge media-libs/libtheora
2. mplayer somevideo.ogg (with theora video codec)
3. xine somevideo.ogg

Actual Results:  
The sound is played fine, but no video is displayed. MPlayer gives the following
(sniped to interesting part):

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Could not open codec.
VDecoder init failed :(
Opening video decoder: [theora] Theora/VP3
Broken Theora header; errorCode=-20!
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0xFFFC.
Read DOCS/HTML/en/codecs.html!

Xine fails with:

libtheora: cannot decode stream without header


Expected Results:  
Both players should play both files without problems.

Changing the -O3 flag with -O2 solves the problem in both players.
Comment 1 Chris White (RETIRED) gentoo-dev 2005-02-06 09:01:20 UTC
Fixed in cvs, thanks for reporting:)