Without this fix ffmpeg dumps core on me most of the time. With the fix it seems stable.
- todd From: http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/mpegaudiodec.c?r1=5127&r2=5658 Index: graphics/ffmpeg/patches/patch-libavcodec_mpegaudiodec_c =================================================================== RCS file: graphics/ffmpeg/patches/patch-libavcodec_mpegaudiodec_c diff -N graphics/ffmpeg/patches/patch-libavcodec_mpegaudiodec_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ graphics/ffmpeg/patches/patch-libavcodec_mpegaudiodec_c 30 Jul 2006 23:40:21 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- libavcodec/mpegaudiodec.c.orig Sun Jul 30 19:39:08 2006 ++++ libavcodec/mpegaudiodec.c Sun Jul 30 15:44:14 2006 +@@ -1650,7 +1650,7 @@ static int huffman_decode(MPADecodeConte + if (get_bits_count(&s->gb) >= end_pos) + break; + if (code_table) { +- code = get_vlc2(&s->gb, vlc->table, 8, 2); ++ code = get_vlc2(&s->gb, vlc->table, 8, 3); + if (code < 0) + return -1; + y = code_table[code];
