comparison libmpdemux/demux_ts.h @ 31850:b9c9e72a37b2

Move mp_a52_framesize from demux_ts.c to parse_es.c. The function is used in the MPEG muxer as well and not specific to MPEG-TS. Jointly developed by Nico Sabbi and myself.
author diego
date Thu, 05 Aug 2010 09:01:30 +0000
parents 44863071e668
children b2329beb7406
comparison
equal deleted inserted replaced
31849:542ad87bf1b9 31850:b9c9e72a37b2
17 */ 17 */
18 18
19 #ifndef MPLAYER_DEMUX_TS_H 19 #ifndef MPLAYER_DEMUX_TS_H
20 #define MPLAYER_DEMUX_TS_H 20 #define MPLAYER_DEMUX_TS_H
21 21
22 #include <stdint.h>
23
24 #define TS_MAX_PROBE_SIZE 2000000 22 #define TS_MAX_PROBE_SIZE 2000000
25 23
26 extern off_t ts_probe; 24 extern off_t ts_probe;
27 extern int ts_prog; 25 extern int ts_prog;
28 extern int ts_keep_broken; 26 extern int ts_keep_broken;
29 extern int audio_substream_id; 27 extern int audio_substream_id;
30 28
31 int mp_a52_framesize(uint8_t *buf, int *srate);
32
33 #endif /* MPLAYER_DEMUX_TS_H */ 29 #endif /* MPLAYER_DEMUX_TS_H */