This ffmpeg version has a big api change. I'll attach the patch; note that I have *not* upstreamed it as I don't know how you handle your relations with upstream. If you want me to do it, please let me know. This bug will serve me to track the unmasking of ffmpeg from another bug, so please don't close it until it's really ok.
Created attachment 168426 [details, diff] fix this should do it, use avcodec_decode_audio2 instead of the old one, setting data_size to get the exact same thing as avcodec_decode_audio
fixed in media-gfx/blender-2.48-r2, thanks for the patch. lu_zero: you should know how to poke upstream, I haven't yet had the pleasure.
if the diff between -r1 and -r2 is only that patch then there is no need to mask it I think
moved your patch to -r1 and removed masked -r2 version, everything should be fine now.
2.48a-r3 is the current stable.. with the ffmpeg mentioned in summary. no need to keep this bug open anymore.