diff options
Diffstat (limited to 'ext/ogg/gstoggdemux.c')
-rw-r--r-- | ext/ogg/gstoggdemux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 517430ea5..03ac00f4e 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -2816,7 +2816,7 @@ gst_ogg_demux_set_header_on_caps (GstOggDemux * ogg, GstCaps * caps, if (G_UNLIKELY (!caps)) return NULL; if (G_UNLIKELY (!headers)) - return NULL; + return caps; caps = gst_caps_make_writable (caps); structure = gst_caps_get_structure (caps, 0); |