mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 03:40:30 +00:00
take care of SEGV
This commit is contained in:
@@ -67,6 +67,9 @@ void decode_frame(struct coded_data *cdata, struct video_frame *frame)
|
||||
int prints=0;
|
||||
double fps;
|
||||
|
||||
if(!frame)
|
||||
return;
|
||||
|
||||
while (cdata != NULL) {
|
||||
pckt = cdata->data;
|
||||
hdr = (payload_hdr_t *) pckt->data;
|
||||
|
||||
Reference in New Issue
Block a user