summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/rtp_h264.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtp_h264.c b/libavformat/rtp_h264.c
index 009774e8ad..c83b3a7178 100644
--- a/libavformat/rtp_h264.c
+++ b/libavformat/rtp_h264.c
@@ -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)