From 24456882f378c3154645b2b833b6f5af6e6f3ef7 Mon Sep 17 00:00:00 2001 From: Andreas Öman Date: Wed, 20 Jun 2007 08:53:53 +0000 Subject: Do not reuse the rbsp de-escape buffer if both the intra and inter -nal units are escaped patch by Andreas Öman: \andreas olebyn nu/ original thread: [FFmpeg-devel] [PATCH] h264: rbsp de-escape and data partitioning.. date: 06/20/2007 09:32 AM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 9374 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/h264.h') diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 913f4fd19d..1669e8ece9 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -160,8 +160,8 @@ typedef struct H264Context{ MpegEncContext s; int nal_ref_idc; int nal_unit_type; - uint8_t *rbsp_buffer; - unsigned int rbsp_buffer_size; + uint8_t *rbsp_buffer[2]; + unsigned int rbsp_buffer_size[2]; /** * Used to parse AVC variant of h264 -- cgit v1.2.3