Skip to content

Commit

Permalink
review2
Browse files Browse the repository at this point in the history
  • Loading branch information
DawidWesierski4 committed Jan 8, 2025
1 parent f858b8f commit e8921c9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ecosystem/gstreamer_plugin/gst_mtl_st40_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,6 @@ static GstFlowReturn gst_mtl_st40_rx_fill_buffer(Gst_Mtl_St40_Rx* src, GstBuffer
src->anc_data = (char*)malloc(udw_size);
}

if (udw_size == 0) {
GST_ERROR("Ancillary data size is 0");
return GST_FLOW_ERROR;
}

*buffer = gst_buffer_new_allocate(NULL, src->udw_size, NULL);
if (!*buffer) {
GST_ERROR("Failed to allocate space for the buffer");
Expand Down

0 comments on commit e8921c9

Please sign in to comment.