diff --git a/lib/raop_rtp_mirror.c b/lib/raop_rtp_mirror.c index 0b6168f..b488cef 100644 --- a/lib/raop_rtp_mirror.c +++ b/lib/raop_rtp_mirror.c @@ -405,8 +405,8 @@ raop_rtp_mirror_thread(void *arg) #ifdef DUMP_H264 fwrite(payload_decrypted, payload_size, 1, file); #endif - payload_decrypted = NULL; - h264_decode_struct h264_data; + payload_decrypted = NULL; + h264_decode_struct h264_data; h264_data.pts = ntp_timestamp; h264_data.nal_count = nalus_count; /*frame_type is set to number of nal units in packet */ h264_data.data_len = payload_size; diff --git a/uxplay.cpp b/uxplay.cpp index 024f128..d2d6d2f 100644 --- a/uxplay.cpp +++ b/uxplay.cpp @@ -153,7 +153,7 @@ void dump_video_to_file(unsigned char *data, int datalen) { video_dumpfile = fopen (fn.c_str(),"w"); if (video_dumpfile == NULL) { LOGE("could not open file %s for dumping h264 frames",fn.c_str()); - } + } } if (video_dumpfile) {