summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2016-03-07 10:27:41 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2016-03-07 15:26:13 -0300
commitb46af7fda7dcbf263e99090922bfa835e288cfa5 (patch)
tree16f0e5885e4f3d41155495d31cde50d2671db7c2
parentc65b66432e8ee8480a84a9d4a0fd6cb6447c335d (diff)
downloadgstreamer-plugins-good-b46af7fda7dcbf263e99090922bfa835e288cfa5.tar.gz
qtdemux: run gst-indent
Otherwise commits will fail with our indent check hook
-rw-r--r--gst/isomp4/qtdemux.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index 5334b6ced..1085e2005 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -5223,25 +5223,27 @@ gst_qtdemux_loop_state_movie (GstQTDemux * qtdemux)
if (qtdemux->cenc_aux_info_offset > 0) {
GstMapInfo map;
GstByteReader br;
- GstBuffer* aux_info = NULL;
+ GstBuffer *aux_info = NULL;
/* pull the data stored before the sample */
- ret = gst_qtdemux_pull_atom (qtdemux, qtdemux->offset, offset + stream->offset_in_sample - qtdemux->offset, &aux_info);
+ ret =
+ gst_qtdemux_pull_atom (qtdemux, qtdemux->offset,
+ offset + stream->offset_in_sample - qtdemux->offset, &aux_info);
if (G_UNLIKELY (ret != GST_FLOW_OK))
goto beach;
- gst_buffer_map(aux_info, &map, GST_MAP_READ);
+ gst_buffer_map (aux_info, &map, GST_MAP_READ);
GST_DEBUG_OBJECT (qtdemux, "parsing cenc auxiliary info");
gst_byte_reader_init (&br, map.data + 8, map.size);
if (!qtdemux_parse_cenc_aux_info (qtdemux, stream, &br,
- qtdemux->cenc_aux_info_sizes, qtdemux->cenc_aux_sample_count)) {
+ qtdemux->cenc_aux_info_sizes, qtdemux->cenc_aux_sample_count)) {
GST_ERROR_OBJECT (qtdemux, "failed to parse cenc auxiliary info");
- gst_buffer_unmap(aux_info, &map);
- gst_buffer_unref(aux_info);
+ gst_buffer_unmap (aux_info, &map);
+ gst_buffer_unref (aux_info);
ret = GST_FLOW_ERROR;
goto beach;
}
- gst_buffer_unmap(aux_info, &map);
- gst_buffer_unref(aux_info);
+ gst_buffer_unmap (aux_info, &map);
+ gst_buffer_unref (aux_info);
}
GST_LOG_OBJECT (qtdemux, "reading %d bytes @ %" G_GUINT64_FORMAT, size,