rtpdec_h264: Remove a useless ifdef

assert is a no-op if DEBUG isn't defined.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2012-05-04 23:53:10 +03:00
parent 8d43b8b8e8
commit 44f99fe0f5

View File

@ -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)