Hi guys,

while writing this application ( http://qpsnr.youlink.org/ ) I noticed that Theora video streams are broken with current version of libavcodec library.
I opened a bug here: https://bugs.launchpad.net/ubuntu/+s...eg/+bug/522812
Apparently I have the same issue even on fresh virtualized environments.
To reproduce the issue, do the following:
1) Download http://launchpadlibrarian.net/393584...dec_sample.cpp
2) Install sudo apt-get install g++ libavcodec-dev libavformat-dev libswscale-dev
3) Compile g++ ./avcodec_sample.cpp -o av_test -O2 -g -pthread -lavformat -lavcodec -lswscale
4) Download a reference OGV http://web.mit.edu/xiphmont/Public/t...rix-300-AQ.ogv
5) Execute ./av_test ./matrix-300-AQ.ogv
Now, you should have in your directory 10 corrupted ppm images (that should be the first 10 frames of the ogv file). If instead you run ./av_test any_other_video_type you should get the first 10 frames of the video file. It does work for all other formats but for Theora streams.

Is there anyone able/willing to confirm this?

Thanks in advance,