Commit ef4d4ac1 authored by Ghislain MARY's avatar Ghislain MARY

Fix one more compilation error.

parent b05b18b7
...@@ -302,7 +302,7 @@ static void output_partition(MSQueue *out, Vp8RtpFmtPartition *partition) { ...@@ -302,7 +302,7 @@ static void output_partition(MSQueue *out, Vp8RtpFmtPartition *partition) {
static void output_frame(MSQueue *out, Vp8RtpFmtFrame *frame) { static void output_frame(MSQueue *out, Vp8RtpFmtFrame *frame) {
Vp8RtpFmtPartition *partition; Vp8RtpFmtPartition *partition;
int nb_partitions = ms_list_size(frame->partitions_list); int nb_partitions = ms_list_size(frame->partitions_list);
mblk_t *om; mblk_t *om = NULL;
mblk_t *curm; mblk_t *curm;
int i; int i;
...@@ -316,8 +316,10 @@ static void output_frame(MSQueue *out, Vp8RtpFmtFrame *frame) { ...@@ -316,8 +316,10 @@ static void output_frame(MSQueue *out, Vp8RtpFmtFrame *frame) {
} }
partition->outputted = TRUE; partition->outputted = TRUE;
} }
mblk_set_marker_info(om, 1); if (om != NULL) {
ms_queue_put(out, (void *)om); mblk_set_marker_info(om, 1);
ms_queue_put(out, (void *)om);
}
} }
static bool_t is_keyframe(Vp8RtpFmtFrame *frame) { static bool_t is_keyframe(Vp8RtpFmtFrame *frame) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment