# HG changeset patch # User mstorsjo # Date 1282808374 0 # Node ID 7defcfe74c72bc987b946e52ecf89385bee04458 # Parent d23e48091c5184decd3fd55324d8c6d4416a23a9 Flush the PutBitsContext at the end of each block when encoding ADPCM IMA QT diff -r d23e48091c51 -r 7defcfe74c72 adpcm.c --- a/adpcm.c Thu Aug 26 00:38:25 2010 +0000 +++ b/adpcm.c Thu Aug 26 07:39:34 2010 +0000 @@ -578,6 +578,7 @@ } } + flush_put_bits(&pb); dst += put_bits_count(&pb)>>3; break; }