Commit 44f99fe0 authored by Martin Storsjö's avatar Martin Storsjö

rtpdec_h264: Remove a useless ifdef

assert is a no-op if DEBUG isn't defined.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 8d43b8b8
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment