diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-03 00:58:52 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-03 00:58:52 +0000 |
commit | 6a16b385d3c32e412e23f9f5d44140d7afd9af79 (patch) | |
tree | 32e1451dd03c41b60ca8e5ccf68610a87a35c1b5 /src/demuxers/id3.h | |
parent | 834fb11173a04fb9febc30e8c0e6c08722114f80 (diff) | |
download | xine-lib-6a16b385d3c32e412e23f9f5d44140d7afd9af79.tar.gz xine-lib-6a16b385d3c32e412e23f9f5d44140d7afd9af79.tar.bz2 |
Add a function to parse a generic ID3v2 tag, and make both demux_aac and demux_mpgaudio use it without repeating the same code.
CVS patchset: 8636
CVS date: 2007/03/03 00:58:52
Diffstat (limited to 'src/demuxers/id3.h')
-rw-r--r-- | src/demuxers/id3.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/demuxers/id3.h b/src/demuxers/id3.h index 2d8970ea7..394488858 100644 --- a/src/demuxers/id3.h +++ b/src/demuxers/id3.h @@ -21,7 +21,7 @@ * * Supported versions: v1, v1.1, v2.2, v2.3, v2.4 * - * $Id: id3.h,v 1.4 2005/09/15 18:45:15 tmattern Exp $ + * $Id: id3.h,v 1.5 2007/03/03 00:58:52 dgp85 Exp $ */ #ifndef ID3_H @@ -38,6 +38,7 @@ #define ID3V24_TAG FOURCC_TAG('I', 'D', '3', 4) /* id3 v2.4 header tag */ #define ID3V24_FOOTER_TAG FOURCC_TAG('3', 'D', 'I', 0) /* id3 v2.4 footer tag */ + /* * ID3 v2.2 */ @@ -164,4 +165,9 @@ int id3v24_parse_tag(input_plugin_t *input, xine_stream_t *stream, int8_t *mp3_frame_header); +/* Generic function that switch between the three above */ +int id3v2_parse_tag(input_plugin_t *input, + xine_stream_t *stream, + int8_t *mp3_frame_header); + #endif /* ID3_H */ |