mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
For some reason, I only committed a ChangeLog entry yesterday and not the corresponding code...
Original commit message from CVS: 2004-03-06 Christophe Fergeau <teuf@gnome.org> For some reason, I only committed a ChangeLog entry yesterday and not the corresponding code... * ext/mad/gstmad.c: Fix detection of Xing headers * gst/tags/gstid3tag.c: Changes to support TLEN tags
This commit is contained in:
parent
dcf7ba5652
commit
1391986f6e
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-03-06 Christophe Fergeau <teuf@gnome.org>
|
||||
|
||||
For some reason, I only committed a ChangeLog entry yesterday and
|
||||
not the corresponding code...
|
||||
* ext/mad/gstmad.c: Fix detection of Xing headers
|
||||
* gst/tags/gstid3tag.c: Changes to support TLEN tags
|
||||
|
||||
2004-03-06 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* ext/ogg/gstoggdemux.c: (gst_ogg_get_pad_by_pad),
|
||||
|
|
|
@ -919,7 +919,7 @@ gst_mad_check_restart (GstMad *mad)
|
|||
* This code has been kindly relicensed to LGPL by Thibaut Mattern and
|
||||
* Bastien Nocera
|
||||
*/
|
||||
#define BE_32 GINT_FROM_BE
|
||||
#define BE_32(x) GINT32_FROM_BE(*(gint*)(x))
|
||||
|
||||
#define FOURCC_TAG( ch0, ch1, ch2, ch3 ) \
|
||||
( (long)(unsigned char)(ch3) | \
|
||||
|
@ -959,7 +959,7 @@ static int mpg123_parse_xing_header(struct mad_header *header,
|
|||
double frame_duration;
|
||||
int xflags, xframes, xbytes, xvbr_scale;
|
||||
int abr;
|
||||
guint8 xtoc[100];
|
||||
guint8 xtoc[XING_TOC_LENGTH];
|
||||
/* This should be the MPEG Audio version ID
|
||||
* (version 2.5, 2 or 1) least significant byte, but mad doesn't
|
||||
* provide that, so assume it's always MPEG 1
|
||||
|
|
Loading…
Reference in a new issue