summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.h
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.h
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.h')
-rw-r--r--libavformat/mpegts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
index e5df071255..7c4e73cde2 100644
--- a/libavformat/mpegts.h
+++ b/libavformat/mpegts.h
@@ -27,6 +27,8 @@
#define TS_FEC_PACKET_SIZE 204
#define TS_DVHS_PACKET_SIZE 192
#define TS_PACKET_SIZE 188
+#define TS_MAX_PACKET_SIZE 204
+
#define NB_PID_MAX 8192
#define MAX_SECTION_SIZE 4096