Mercurial > libavcodec.hg
diff h264.h @ 5079:4ff805f87391 libavcodec
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
author | benoit |
---|---|
date | Tue, 29 May 2007 14:35:29 +0000 |
parents | 9a6a0818e93f |
children | 4dbe6578f811 |
line wrap: on
line diff
--- a/h264.h Tue May 29 12:20:40 2007 +0000 +++ b/h264.h Tue May 29 14:35:29 2007 +0000 @@ -243,10 +243,10 @@ 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 */