mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
oggdemux: do not dereference NULL pad in warning message
Coverity 1197695
This commit is contained in:
parent
8c7cbeed5b
commit
54f38edd15
1 changed files with 1 additions and 1 deletions
|
@ -2998,7 +2998,7 @@ gst_ogg_demux_do_seek (GstOggDemux * ogg, GstSegment * segment,
|
||||||
for (i = 0; i < chain->streams->len; i++) {
|
for (i = 0; i < chain->streams->len; i++) {
|
||||||
GstOggPad *pad = g_array_index (chain->streams, GstOggPad *, i);
|
GstOggPad *pad = g_array_index (chain->streams, GstOggPad *, i);
|
||||||
if (!pad) {
|
if (!pad) {
|
||||||
GST_WARNING_OBJECT (ogg, "No pad for serialno %08x", pad->map.serialno);
|
GST_WARNING_OBJECT (ogg, "No pad at index %d", i);
|
||||||
pending--;
|
pending--;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue