Commit 8a06cb14 authored by Vitor Sessak's avatar Vitor Sessak

Skip 0x0000 frame footer in EA ADPCM decoder.

Originally committed as revision 18706 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b78c8e21
......@@ -1251,6 +1251,10 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
*samples++ = (unsigned short)current_right_sample;
}
}
if (src - buf == buf_size - 2)
src += 2; // Skip terminating 0x0000
break;
case CODEC_ID_ADPCM_EA_MAXIS_XA:
for(channel = 0; channel < avctx->channels; channel++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment