Browse Source

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
tags/n0.8
Martin Storsjö 15 years ago
parent
commit
e0ae6c17fe
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/adpcm.c

+ 1
- 0
libavcodec/adpcm.c View File

@@ -578,6 +578,7 @@ static int adpcm_encode_frame(AVCodecContext *avctx,
}
}

flush_put_bits(&pb);
dst += put_bits_count(&pb)>>3;
break;
}


Loading…
Cancel
Save