From: Volodymyr Brynza Date: Tue, 21 Jun 2016 08:28:18 +0000 (+0300) Subject: [UTC][capi-media-streamer][Non-ACR][Fix SDK build issue] X-Git-Tag: Beta_RC12~30^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e237bea142fbda6e5c3101556a5980cc3ce766b0;p=test%2Ftct%2Fnative%2Fapi.git [UTC][capi-media-streamer][Non-ACR][Fix SDK build issue] Change-Id: I5af216ae2d99ac4553ecec4856b049bf73491694 Signed-off-by: Volodymyr Brynza --- diff --git a/src/utc/capi-media-streamer/utc-capi-media-streamer.c b/src/utc/capi-media-streamer/utc-capi-media-streamer.c index a7be8d8..2782258 100644 --- a/src/utc/capi-media-streamer/utc-capi-media-streamer.c +++ b/src/utc/capi-media-streamer/utc-capi-media-streamer.c @@ -176,11 +176,12 @@ void new_buffer_cb(media_streamer_node_h node, void *user_data) media_packet_h packet = NULL; pull_packet_res = media_streamer_node_pull_packet(node, &packet); - assert_neq(packet, NULL); + if (packet == NULL) + return; media_packet_get_buffer_data_ptr(packet, (void **)&received_data); - - assert_neq(received_data, NULL); + if (received_data == NULL) + return; free(received_data); received_data = NULL;