mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
dvbsrc: fix invalid dereference of delsys data
Use GPOINTER_TO_INT to read GINT_TO_POINTER stored data.
This commit is contained in:
parent
00d961a839
commit
16643e2db7
1 changed files with 1 additions and 1 deletions
|
@ -2351,7 +2351,7 @@ gst_dvbsrc_guess_delsys (GstDvbSrc * object)
|
|||
* supported delivery system */
|
||||
go_with_default:
|
||||
delsys = g_list_last (object->supported_delsys);
|
||||
object->delsys = *(guchar *) delsys->data;
|
||||
object->delsys = GPOINTER_TO_INT (delsys->data);
|
||||
|
||||
autoselection_done:
|
||||
GST_INFO_OBJECT (object, "Automatically selecting delivery system '%u'",
|
||||
|
|
Loading…
Reference in a new issue