summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-30 22:14:13 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-30 22:14:13 +0000
commitdef243261a0b8e3ab0d043cd89b97f8c9826e573 (patch)
tree2d8e535aad7c3a37890784ce712af89e5d517944 /libmpdemux
parenta849e05e2c00fbf0919f47259b49ec26c66b8d44 (diff)
downloadmpv-def243261a0b8e3ab0d043cd89b97f8c9826e573.tar.bz2
mpv-def243261a0b8e3ab0d043cd89b97f8c9826e573.tar.xz
Move TS_MAX_PROBE_SIZE #define to demux_ts.h instead of duplicating it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31291 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_ts.c1
-rw-r--r--libmpdemux/demux_ts.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/demux_ts.c b/libmpdemux/demux_ts.c
index 0a79dcded5..eb80ab1701 100644
--- a/libmpdemux/demux_ts.c
+++ b/libmpdemux/demux_ts.c
@@ -45,7 +45,6 @@
#define MAX_HEADER_SIZE 6 /* enough for PES header + length */
#define MAX_CHECK_SIZE 65535
-#define TS_MAX_PROBE_SIZE 2000000 /* do not forget to change this in cfg-common-opts.h, too */
#define NUM_CONSECUTIVE_TS_PACKETS 32
#define NUM_CONSECUTIVE_AUDIO_PACKETS 348
#define MAX_A52_FRAME_SIZE 3840
diff --git a/libmpdemux/demux_ts.h b/libmpdemux/demux_ts.h
index e8db01716f..7a06d80f2e 100644
--- a/libmpdemux/demux_ts.h
+++ b/libmpdemux/demux_ts.h
@@ -21,6 +21,8 @@
#include <stdint.h>
+#define TS_MAX_PROBE_SIZE 2000000
+
int mp_a52_framesize(uint8_t *buf, int *srate);
#endif /* MPLAYER_DEMUX_TS_H */