Commit e0ae6c17 authored by Martin Storsjö's avatar Martin Storsjö

Flush the PutBitsContext at the end of each block when encoding ADPCM IMA QT

Originally committed as revision 24938 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 798dc641
......@@ -578,6 +578,7 @@ static int adpcm_encode_frame(AVCodecContext *avctx,
}
}
flush_put_bits(&pb);
dst += put_bits_count(&pb)>>3;
break;
}
......
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