Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
12425:d23e48091c51 | 12426:7defcfe74c72 |
---|---|
576 } | 576 } |
577 c->status[ch].prev_sample &= ~0x7F; | 577 c->status[ch].prev_sample &= ~0x7F; |
578 } | 578 } |
579 } | 579 } |
580 | 580 |
581 flush_put_bits(&pb); | |
581 dst += put_bits_count(&pb)>>3; | 582 dst += put_bits_count(&pb)>>3; |
582 break; | 583 break; |
583 } | 584 } |
584 case CODEC_ID_ADPCM_SWF: | 585 case CODEC_ID_ADPCM_SWF: |
585 { | 586 { |