From be01eec6c7a4519a8d0516c36f43477e5f6f48a9 Mon Sep 17 00:00:00 2001 From: Oded Shimon <ods15@ods15.dyndns.org> Date: Mon, 2 Oct 2006 05:56:12 +0000 Subject: [PATCH] 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 --- libavcodec/vorbis_enc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c index 53af5b0f40..f62ebe98d3 100644 --- a/libavcodec/vorbis_enc.c +++ b/libavcodec/vorbis_enc.c @@ -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;