From 7e57bfd853285f39330d0122e5d8cde3a7cef7fa Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 5 Aug 2010 09:01:30 +0000 Subject: demux: 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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31929 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/parse_es.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libmpdemux/parse_es.h') diff --git a/libmpdemux/parse_es.h b/libmpdemux/parse_es.h index ea2405a803..ed76593e50 100644 --- a/libmpdemux/parse_es.h +++ b/libmpdemux/parse_es.h @@ -19,6 +19,8 @@ #ifndef MPLAYER_PARSE_ES_H #define MPLAYER_PARSE_ES_H +#include + #include "demuxer.h" #define MAX_VIDEO_PACKET_SIZE (224*1024+4) @@ -38,4 +40,6 @@ int read_video_packet(demux_stream_t *ds); // return: next packet code int skip_video_packet(demux_stream_t *ds); +int mp_a52_framesize(uint8_t *buf, int *srate); + #endif /* MPLAYER_PARSE_ES_H */ -- cgit v1.2.3