]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtp_h264.c
Make sure strcasecmp() is declared.
[ffmpeg] / libavformat / rtp_h264.c
index 009774e8ad1c7321171c76d850b268ba2c5a1f67..c83b3a71780a396c17dc1268091f975c54ea7fc9 100644 (file)
@@ -173,8 +173,10 @@ static int h264_handle_packet(RTPDemuxContext * s,
     int result= 0;
     uint8_t start_sequence[]= {0, 0, 1};
 
+#ifdef DEBUG
     assert(data);
     assert(data->cookie == MAGIC_COOKIE);
+#endif
     assert(buf);
 
     if (type >= 1 && type <= 23)