diff adpcm.c @ 12426:7defcfe74c72 libavcodec

Flush the PutBitsContext at the end of each block when encoding ADPCM IMA QT
author mstorsjo
date Thu, 26 Aug 2010 07:39:34 +0000
parents 40d7fc8c7850
children
line wrap: on
line diff
--- 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;
     }