summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorAndreas Öman <andreas@olebyn.nu>2007-05-29 14:35:29 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2007-05-29 14:35:29 +0000
commit7978debdc28e49a0df34cfabf20a95fe20c7cb7c (patch)
tree128dc44b4d72498a103454b280d4c6f6b9a4d05a /libavcodec/h264.h
parent750cbd34c9347c7853b8bcc47cf848b3d229464c (diff)
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
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h4
1 files changed, 2 insertions, 2 deletions
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
*/