gst/xingheader/gstxingmux.c: Bitrate is 4 bits, not 8 so check for 0xe as maximum value instead of 0xfe.
Original commit message from CVS: * gst/xingheader/gstxingmux.c: (generate_xing_header): Bitrate is 4 bits, not 8 so check for 0xe as maximum value instead of 0xfe.
This commit is contained in:
parent
d28bfa3d09
commit
92c7808796
@ -1,3 +1,9 @@
|
|||||||
|
2008-01-14 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
|
* gst/xingheader/gstxingmux.c: (generate_xing_header):
|
||||||
|
Bitrate is 4 bits, not 8 so check for 0xe as maximum value instead
|
||||||
|
of 0xfe.
|
||||||
|
|
||||||
2008-01-14 Sebastian Dröge <slomo@circular-chaos.org>
|
2008-01-14 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* gst/xingheader/gstxingmux.c: (generate_xing_header):
|
* gst/xingheader/gstxingmux.c: (generate_xing_header):
|
||||||
|
@ -236,9 +236,9 @@ generate_xing_header (GstXingMux * xing)
|
|||||||
|
|
||||||
parse_header (header, &size, &spf, &rate);
|
parse_header (header, &size, &spf, &rate);
|
||||||
xing_offset = get_xing_offset (header);
|
xing_offset = get_xing_offset (header);
|
||||||
} while (size < (4 + xing_offset + 4 + 4 + 4 + 4 + 100) && bitrate < 0xfe);
|
} while (size < (4 + xing_offset + 4 + 4 + 4 + 4 + 100) && bitrate < 0xe);
|
||||||
|
|
||||||
if (bitrate == 0xfe) {
|
if (bitrate == 0xe) {
|
||||||
GST_ERROR ("No usable bitrate found!");
|
GST_ERROR ("No usable bitrate found!");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user