diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-08-05 09:01:30 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:15:48 +0200 |
commit | 7e57bfd853285f39330d0122e5d8cde3a7cef7fa (patch) | |
tree | d8a40c5e289d0d01e571d6d9299a2bde2d67af18 /libmpdemux/parse_es.h | |
parent | 1e403d0593bbe47769d48bf4d60342d4c30c5bce (diff) | |
download | mpv-7e57bfd853285f39330d0122e5d8cde3a7cef7fa.tar.bz2 mpv-7e57bfd853285f39330d0122e5d8cde3a7cef7fa.tar.xz |
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
Diffstat (limited to 'libmpdemux/parse_es.h')
-rw-r--r-- | libmpdemux/parse_es.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <stdint.h> + #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 */ |