mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
fix type punning
Original commit message from CVS: fix type punning
This commit is contained in:
parent
f4a7caa418
commit
9aa6e282df
1 changed files with 2 additions and 2 deletions
|
@ -424,7 +424,7 @@ gst_jack_loop (GstElement *element)
|
||||||
GstJack *this;
|
GstJack *this;
|
||||||
GList *pads;
|
GList *pads;
|
||||||
gint len, peeked_len;
|
gint len, peeked_len;
|
||||||
gchar *peeked;
|
guint8 *peeked;
|
||||||
gint avail;
|
gint avail;
|
||||||
GstEvent *event;
|
GstEvent *event;
|
||||||
GstJackPad *pad;
|
GstJackPad *pad;
|
||||||
|
@ -445,7 +445,7 @@ gst_jack_loop (GstElement *element)
|
||||||
pad->bs = gst_bytestream_new (pad->pad);
|
pad->bs = gst_bytestream_new (pad->pad);
|
||||||
|
|
||||||
read:
|
read:
|
||||||
peeked_len = gst_bytestream_peek_bytes (pad->bs, (guint8**)&peeked, len);
|
peeked_len = gst_bytestream_peek_bytes (pad->bs, &peeked, len);
|
||||||
if (peeked_len < len) {
|
if (peeked_len < len) {
|
||||||
gst_bytestream_get_status(pad->bs, &avail, &event);
|
gst_bytestream_get_status(pad->bs, &avail, &event);
|
||||||
if (event) {
|
if (event) {
|
||||||
|
|
Loading…
Reference in a new issue