mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
Two workarounds added for gcc-2.9x compatibility. The warnigns are wrong, because these variables will logically neve...
Original commit message from CVS: Two workarounds added for gcc-2.9x compatibility. The warnigns are wrong, because these variables will logically never be used without being initialized, but it complains nevertheless so we should fix it.
This commit is contained in:
parent
8f4c8a103b
commit
94ff8fbb81
1 changed files with 2 additions and 2 deletions
|
@ -387,7 +387,7 @@ mp3_type_find (GstTypeFind *tf, gpointer unused)
|
||||||
size = GST_MP3_TYPEFIND_SYNC_SIZE;
|
size = GST_MP3_TYPEFIND_SYNC_SIZE;
|
||||||
}
|
}
|
||||||
if (*data == 0xFF) {
|
if (*data == 0xFF) {
|
||||||
guint8* head_data;
|
guint8* head_data = NULL;
|
||||||
guint layer, bitrate, samplerate, channels;
|
guint layer, bitrate, samplerate, channels;
|
||||||
guint found = 0; /* number of valid headers found */
|
guint found = 0; /* number of valid headers found */
|
||||||
guint64 offset = skipped;
|
guint64 offset = skipped;
|
||||||
|
@ -581,7 +581,7 @@ mpeg1_sys_type_find (GstTypeFind *tf, gpointer unused)
|
||||||
if (IS_MPEG_HEADER (data)) {
|
if (IS_MPEG_HEADER (data)) {
|
||||||
/* found packet start code */
|
/* found packet start code */
|
||||||
guint found = 0;
|
guint found = 0;
|
||||||
guint packet_size;
|
guint packet_size = 0;
|
||||||
guint64 offset = skipped;
|
guint64 offset = skipped;
|
||||||
|
|
||||||
while (found < GST_MPEG_TYPEFIND_TRY_HEADERS) {
|
while (found < GST_MPEG_TYPEFIND_TRY_HEADERS) {
|
||||||
|
|
Loading…
Reference in a new issue