diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-04-21 23:22:04 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-04-21 23:22:04 +0000 |
commit | 36c94c8401395e65aeb722e05d24915c9a361c97 (patch) | |
tree | 65003b1c83dbe43b44e170e2f51f6bdefa1fd277 /intl | |
parent | 65d46d7e0123cf42b5c98f633bd41c90acaa180d (diff) | |
download | xine-lib-36c94c8401395e65aeb722e05d24915c9a361c97.tar.gz xine-lib-36c94c8401395e65aeb722e05d24915c9a361c97.tar.bz2 |
Fix MP3 playing when mad is disabled (patch from Diego Pettenò)
This patch validates codec and context before trying to call ffmpeg to avoid
crashes when mad is not enabled and an mp3 is tried to be played. This way, if
mad support is not enabled it can fail "gracefully" without having a segfault
that takes down the frontend entirely.
Thanks to Ian Monroe <ian@monroe.nu> for the backtrace from which I started
testing.
CVS patchset: 7978
CVS date: 2006/04/21 23:22:04
Diffstat (limited to 'intl')
0 files changed, 0 insertions, 0 deletions