From 44f99fe0f5e688833cb671efbaa0beb6b74c9389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 4 May 2012 23:53:10 +0300 Subject: [PATCH] rtpdec_h264: Remove a useless ifdef MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit assert is a no-op if DEBUG isn't defined. Signed-off-by: Martin Storsjö --- libavformat/rtpdec_h264.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c index d98be07366..399ca47ff7 100644 --- a/libavformat/rtpdec_h264.c +++ b/libavformat/rtpdec_h264.c @@ -170,9 +170,7 @@ static int h264_handle_packet(AVFormatContext *ctx, nal = buf[0]; type = nal & 0x1f; -#ifdef DEBUG assert(data); -#endif assert(buf); if (type >= 1 && type <= 23)