summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_h264.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-05-04 23:53:10 +0300
committerMartin Storsjö <martin@martin.st>2012-05-05 03:10:25 +0300
commit44f99fe0f5e688833cb671efbaa0beb6b74c9389 (patch)
tree54638dc1f10ecc27ebc7b302b0a6921d53d0c3c3 /libavformat/rtpdec_h264.c
parent8d43b8b8e84495deeebc1f01a2035ba76ba24a7a (diff)
rtpdec_h264: Remove a useless ifdef
assert is a no-op if DEBUG isn't defined. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec_h264.c')
-rw-r--r--libavformat/rtpdec_h264.c2
1 files changed, 0 insertions, 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)