diff options
Diffstat (limited to 'gst/cdxaparse/gstcdxaparse.c')
-rw-r--r-- | gst/cdxaparse/gstcdxaparse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/cdxaparse/gstcdxaparse.c b/gst/cdxaparse/gstcdxaparse.c index dc9f949f8..8bd22c656 100644 --- a/gst/cdxaparse/gstcdxaparse.c +++ b/gst/cdxaparse/gstcdxaparse.c @@ -292,6 +292,7 @@ gst_cdxa_parse_loop (GstPad * sinkpad) req = 8 + GST_CDXA_SECTOR_SIZE; /* riff chunk header = 8 bytes */ + buf = NULL; flow_ret = gst_pad_pull_range (cdxa->sinkpad, cdxa->offset, req, &buf); if (flow_ret != GST_FLOW_OK) { @@ -330,6 +331,7 @@ gst_cdxa_parse_loop (GstPad * sinkpad) GST_DEBUG_OBJECT (cdxa, "pulling buffer at offset 0x%" G_GINT64_MODIFIER "x", cdxa->offset); + buf = NULL; flow_ret = gst_pad_pull_range (cdxa->sinkpad, cdxa->offset, GST_CDXA_SECTOR_SIZE, &buf); |