Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258890 - [patch] media-sound/moc-2.5.0_alpha3-r2 crashes when trying to play wma files
Summary: [patch] media-sound/moc-2.5.0_alpha3-r2 crashes when trying to play wma files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL: http://moc.daper.net/node/202
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-13 23:15 UTC by Mateusz Baran
Modified: 2009-05-11 18:03 UTC (History)
0 users

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


Attachments
ffmpegheader patch with my addition (moc-2.5.0_alpha3-ffmpegheaders.patch,1.66 KB, patch)
2009-02-13 23:18 UTC, Mateusz Baran
Details | Diff
Manifest file with new checksums for ffmpegheaders patch (Manifest,1.78 KB, text/plain)
2009-02-13 23:20 UTC, Mateusz Baran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Baran 2009-02-13 23:15:35 UTC
During compilation there is a warning "implicit declaration of function avcodec_decode_audio" in ffmpeg.c . 
During runtime, every attept of playing WMA files ends with crash and error: "FATAL_ERROR: Can't recieve value from the server"



Reproducible: Always

Steps to Reproduce:
1.run mocp
2.try to play WMA file
3.

Actual Results:  
program crashes

Expected Results:  
music to play

My arch is AMD64, but the poblem may occur on other as well. 
I've found a workaround on MOC website http://moc.daper.net/node/428 ,
and i've modified MOC ebuild to apply this patch.

The problem was in ffmpeg.c , so i just added this fix to an existing ffmpeg patch.
After reemerging with upgraded patch, the error message during compilation disappeared, and WMA files were playable.

I just thought, that this should be included in ebuild.
Comment 1 Mateusz Baran 2009-02-13 23:18:28 UTC
Created attachment 181912 [details, diff]
ffmpegheader patch with my addition
Comment 2 Mateusz Baran 2009-02-13 23:20:48 UTC
Created attachment 181914 [details]
Manifest file with new checksums for ffmpegheaders patch

/usr/portage/media-sound/moc/Manifest
Comment 3 Mateusz Baran 2009-02-13 23:50:41 UTC
Comment on attachment 181912 [details, diff]
ffmpegheader patch with my addition

/usr/portage/media-sound/moc/files/moc-2.5.0_alpha3-ffmpegheaders.patch
Comment 4 A.J. 2009-05-05 23:27:58 UTC
Please push this through.  I can confirm the same error and the same patch fix (x86 arch).  
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-05-11 18:03:14 UTC
pushed