From 7978debdc28e49a0df34cfabf20a95fe20c7cb7c Mon Sep 17 00:00:00 2001 From: Andreas Öman Date: Tue, 29 May 2007 14:35:29 +0000 Subject: allocate PPS and SPS dynamically patch by Andreas Öman andreas ta olebyn tod nu reference thread: subject: [FFmpeg-devel] [PATCH] h264: allocate PPS and SPS dynamically date: 05/28/2007 03:00 PM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 9148 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 95c3ab42a9..014ef83321 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -243,10 +243,10 @@ typedef struct H264Context{ int unknown_svq3_flag; int next_slice_index; - SPS sps_buffer[MAX_SPS_COUNT]; + SPS *sps_buffers[MAX_SPS_COUNT]; SPS sps; ///< current sps - PPS pps_buffer[MAX_PPS_COUNT]; + PPS *pps_buffers[MAX_PPS_COUNT]; /** * current pps */ -- cgit v1.2.3