Bug 150653 - OGG/Vorbis playback with multimedia/mplayer is broken
Summary: OGG/Vorbis playback with multimedia/mplayer is broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-17 17:40 UTC by yamagi
Modified: 2010-10-29 14:30 UTC (History)
0 users

See Also:


Attachments
file.diff (2.75 KB, patch)
2010-09-17 17:40 UTC, yamagi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description yamagi 2010-09-17 17:40:01 UTC
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.
Comment 1 Thomas Zander 2010-09-26 15:43:34 UTC
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!
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2010-10-29 14:12:01 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-10-29 14:22:59 UTC
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"