Crashes at 1148 seconds, use mplayer -ss 1130 to reproduce quickly. Valgrind trace from above MPlayer command: ==22120== Invalid read of size 1 ==22120== at 0x76E4C4: entropy_decode (apedec.c:259) ==22120== by 0x76F554: ape_decode_frame (apedec.c:819) ==22120== by 0x6FE5E7: avcodec_decode_audio2 (utils.c:973) ==22120== by 0x54D110: decode_audio (ad_ffmpeg.c:161) ==22120== by 0x50157C: decode_audio (dec_audio.c:377) ==22120== by 0x46198E: main (mplayer.c:2051) ==22120== Address 0x5cc0f3c is 0 bytes after a block of size 243,644 alloc'd ==22120== at 0x4905C66: realloc (vg_replace_malloc.c:420) ==22120== by 0x76EB72: ape_decode_frame (apedec.c:858) ==22120== by 0x6FE5E7: avcodec_decode_audio2 (utils.c:973) ==22120== by 0x54D110: decode_audio (ad_ffmpeg.c:161) ==22120== by 0x50157C: decode_audio (dec_audio.c:377) ==22120== by 0x46198E: main (mplayer.c:2051)