Hi, attached patch fixes a memory corruption when decoding WavPack > 16-bit. It is caused by the decoder being initialized as S16, and requesting a buffer for that size, however when decoding the very first frame, the type can actually change after the buffer was requested, causing it to write beyond the end of the buffer.
I'm not sure this is the best way to implement the fix, but it solves the issue. - Hendrik _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel