Message ID | 1336169215-59789-4-git-send-email-martin@martin.st |
---|---|
State | Committed |
Commit | 44f99fe0f5e688833cb671efbaa0beb6b74c9389 |
Headers | show |
On 04/05/12 15:06, Martin Storsjö wrote: > assert is a no-op if DEBUG isn't defined. > --- > libavformat/rtpdec_h264.c | 2 -- > 1 file changed, 2 deletions(-) > Ok.
On Fri, 4 May 2012, Luca Barbato wrote: > On 04/05/12 15:06, Martin Storsjö wrote: >> assert is a no-op if DEBUG isn't defined. >> --- >> libavformat/rtpdec_h264.c | 2 -- >> 1 file changed, 2 deletions(-) >> > > Ok. Pushed the cleanup patches up to this one, I'll do another version of the comment cleanup and/or awaiting more opinions on it. // Martin
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c index d98be07..399ca47 100644 --- 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)