Since mplayer 1.0.r20100717 playback of some OGG/Vorbis files is broken. Trying to play various OGG/Vorbis files created with the latest version of libvorbise.c results in error messages like this: [vorbis @ 0x806e39c10] Index value 45 out of range (0 - 43) for bits at vorbis_dec.c:520 [vorbis @ 0x806e39c10] Vorbis setup header packet corrupt (floors). [vorbis @ 0x806e39c10] Setup header corrupt Fix: This is a problem with datatypes in variables in the upstream source. The problem is fixed upstream but since a complete update of the port to a newer svn snapshot will most likely break other things I've backported fix to our current version. Just put the attached patch into multimedia/mplayer/files, rebuild the port and OGG/Vorbis will be work again. The patch applies against libavcodec/vorbis_dec.c Patch attached with submission follows: How-To-Repeat: Play an OGG/Vorbis file created with the current version of libvorbisenc.so, part of audio/libvorbis-1.3.1,3. The file can be created with mplayer itself.
I am going to release a new port in October anyway, so this problem will go away in the near future. But until then, I have no objections against this patch. Thanks for investigating and providing the patch!
State Changed From-To: open->closed Committed, thanks!
pav 2010-10-29 13:22:54 UTC FreeBSD ports repository Modified files: multimedia/mplayer Makefile Added files: multimedia/mplayer/files patch-libavcodec-vorbis_dec.c Log: - Fix decoding of certain ogg/vorbis files PR: ports/150653 Submitted by: Yamagi Burmeister <yamagi@yamagi.org> Approved by: Thomas Zander <thomas.e.zander@googlemail.com> (maintainer) Revision Changes Path 1.199 +1 -1 ports/multimedia/mplayer/Makefile 1.1 +63 -0 ports/multimedia/mplayer/files/patch-libavcodec-vorbis_dec.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"