annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30576
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
1 /*
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
2 * This file is part of MPlayer.
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
3 *
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
7 * (at your option) any later version.
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
8 *
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
12 * GNU General Public License for more details.
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
13 *
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License along
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
17 */
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
18
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
19 #ifndef MPLAYER_DEMUX_TS_H
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
20 #define MPLAYER_DEMUX_TS_H
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
21
31225
1a2bfa6a546b Move TS_MAX_PROBE_SIZE #define to demux_ts.h instead of duplicating it.
diego
parents: 30576
diff changeset
22 #define TS_MAX_PROBE_SIZE 2000000
1a2bfa6a546b Move TS_MAX_PROBE_SIZE #define to demux_ts.h instead of duplicating it.
diego
parents: 30576
diff changeset
23
31403
6fccaae78d5b Move ts_* extern variable declarations to demux_ts.h.
diego
parents: 31225
diff changeset
24 extern off_t ts_probe;
6fccaae78d5b Move ts_* extern variable declarations to demux_ts.h.
diego
parents: 31225
diff changeset
25 extern int ts_prog;
6fccaae78d5b Move ts_* extern variable declarations to demux_ts.h.
diego
parents: 31225
diff changeset
26 extern int ts_keep_broken;
31405
44863071e668 Move audio_substream_id extern variable declaration to demux_ts.h.
diego
parents: 31403
diff changeset
27 extern int audio_substream_id;
31403
6fccaae78d5b Move ts_* extern variable declarations to demux_ts.h.
diego
parents: 31225
diff changeset
28
30576
24a5dc9d1466 Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff changeset
29 #endif /* MPLAYER_DEMUX_TS_H */