Browse code

rtpdec_h264: Remove a useless ifdef

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

Signed-off-by: Martin Storsjö <martin@martin.st>

Martin Storsjö authored on 2012/05/05 05:53:10
Showing 1 changed files
... ...
@@ -170,9 +170,7 @@ static int h264_handle_packet(AVFormatContext *ctx,
170 170
     nal  = buf[0];
171 171
     type = nal & 0x1f;
172 172
 
173
-#ifdef DEBUG
174 173
     assert(data);
175
-#endif
176 174
     assert(buf);
177 175
 
178 176
     if (type >= 1 && type <= 23)