Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 78466 Details for
Bug 120313
mplayer crashes with AC3 sound
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make ad_liba52 respect maxlen
a52_maxlen.diff (text/plain), 718 bytes, created by
Reimar Döffinger
on 2006-01-29 11:42:49 UTC
(
hide
)
Description:
make ad_liba52 respect maxlen
Filename:
MIME Type:
Creator:
Reimar Döffinger
Created:
2006-01-29 11:42:49 UTC
Size:
718 bytes
patch
obsolete
>Index: libmpcodecs/ad_liba52.c >=================================================================== >RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_liba52.c,v >retrieving revision 1.19 >diff -u -r1.19 ad_liba52.c >--- libmpcodecs/ad_liba52.c 18 Nov 2005 14:39:21 -0000 1.19 >+++ libmpcodecs/ad_liba52.c 28 Jan 2006 15:59:12 -0000 >@@ -288,6 +288,10 @@ > sample_t level=a52_level, bias=384; > int flags=a52_flags|A52_ADJUST_LEVEL; > int i,len=-1; >+ if (maxlen / sh_audio->samplesize / 256 / sh_audio->channels < 6) { >+ mp_msg(MSGT_DECAUDIO, MSGL_V, "maxlen too small in decode_audio\n"); >+ return len; >+ } > if (sh_audio->sample_format == AF_FORMAT_FLOAT_NE) > bias = 0; > if(!sh_audio->a_in_buffer_len)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 120313
: 78466