diff options
author | Martin Storsjö <martin@martin.st> | 2012-05-04 23:53:10 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-05-05 03:10:25 +0300 |
commit | 44f99fe0f5e688833cb671efbaa0beb6b74c9389 (patch) | |
tree | 54638dc1f10ecc27ebc7b302b0a6921d53d0c3c3 | |
parent | 8d43b8b8e84495deeebc1f01a2035ba76ba24a7a (diff) | |
download | ffmpeg-44f99fe0f5e688833cb671efbaa0beb6b74c9389.tar.gz |
rtpdec_h264: Remove a useless ifdef
assert is a no-op if DEBUG isn't defined.
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavformat/rtpdec_h264.c | 2 |
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) |