OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d43b8b
)
rtpdec_h264: Remove a useless ifdef
author
Martin Storsjö
<martin@martin.st>
Fri, 4 May 2012 20:53:10 +0000
(23:53 +0300)
committer
Martin Storsjö
<martin@martin.st>
Sat, 5 May 2012 00:10:25 +0000
(
03:10
+0300)
assert is a no-op if DEBUG isn't defined.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec_h264.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec_h264.c
b/libavformat/rtpdec_h264.c
index
d98be07
..
399ca47
100644
(file)
--- 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)