changeset 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 d23e48091c51
children 1b8f44e2754e
files adpcm.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;
     }