mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
xingmux: fix compiler warnings
https://bugzilla.gnome.org/show_bug.cgi?id=750596
This commit is contained in:
parent
3d5e7b0b95
commit
0f80355ba5
1 changed files with 4 additions and 1 deletions
|
@ -275,7 +275,10 @@ generate_xing_header (GstXingMux * xing)
|
|||
header &= 0xffff0fff;
|
||||
header |= bitrate << 12;
|
||||
|
||||
parse_header (header, &size, &spf, &rate);
|
||||
if (!parse_header (header, &size, &spf, &rate)) {
|
||||
GST_ERROR ("Failed to parse header!");
|
||||
return NULL;
|
||||
}
|
||||
xing_offset = get_xing_offset (header);
|
||||
} while (size < (4 + xing_offset + 4 + 4 + 4 + 4 + 100) && bitrate < 0xe);
|
||||
|
||||
|
|
Loading…
Reference in a new issue