Original Commit: r32 | ods15 | 2006-09-22 18:37:50 +0300 (Fri, 22 Sep 2006) | 2 lines

add framing bit

Originally committed as revision 6441 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Oded Shimon 2006-10-02 05:56:12 +00:00
parent 22c72a08df
commit be01eec6c7
1 changed files with 2 additions and 0 deletions

View File

@ -546,6 +546,8 @@ static int put_main_header(venc_context_t * venc, uint8_t ** out) {
put_bits(&pb, 8, venc->modes[i].mapping);
}
put_bits(&pb, 1, 1); // framing
flush_put_bits(&pb);
hlens[2] = (put_bits_count(&pb) + 7) / 8;