summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-08-24 21:42:25 +0000
committerMåns Rullgård <mans@mansr.com>2009-08-24 21:42:25 +0000
commitcf5ec607406cf6e1b2dd28247fd5026457c747c1 (patch)
tree16c4bf1131d346ae85f8da1977703e00ac750733 /libavformat/mpegts.c
parentafe08a728ad5fa7b9211e2f1a7c7adc859e48aca (diff)
mpegts: change variable-length array to fixed length
The difference between 188 and 204 is not worth worrying about. Originally committed as revision 19697 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index e3bdc6b658..01845ed2f6 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -356,7 +356,7 @@ static void mpegts_close_filter(MpegTSContext *ts, MpegTSFilter *filter)
}
static int analyze(const uint8_t *buf, int size, int packet_size, int *index){
- int stat[packet_size];
+ int stat[TS_MAX_PACKET_SIZE];
int i;
int x=0;
int best_score=0;