take care of SEGV

This commit is contained in:
Lukas Hejtmanek
2010-02-09 11:20:22 +01:00
parent d77f0a1fc4
commit f97f033386

View File

@@ -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;