You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
@@ -170,9 +170,7 @@ static int h264_handle_packet(AVFormatContext *ctx,
|
|||||||
nal = buf[0];
|
nal = buf[0];
|
||||||
type = nal & 0x1f;
|
type = nal & 0x1f;
|
||||||
|
|
||||||
#ifdef DEBUG
|
|
||||||
assert(data);
|
assert(data);
|
||||||
#endif
|
|
||||||
assert(buf);
|
assert(buf);
|
||||||
|
|
||||||
if (type >= 1 && type <= 23)
|
if (type >= 1 && type <= 23)
|
||||||
|
Reference in New Issue
Block a user