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 Originally committed as revision 9148 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Benoit Fouet
parent
750cbd34c9
commit
7978debdc2
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user