Browse Source

Fix non-debug build.

Originally committed as revision 13149 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
François Revol 17 years ago
parent
commit
7cf6af27c9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/rtp_h264.c

+ 2
- 0
libavformat/rtp_h264.c View File

@@ -173,8 +173,10 @@ static int h264_handle_packet(RTPDemuxContext * s,
int result= 0;
uint8_t start_sequence[]= {0, 0, 1};

#ifdef DEBUG
assert(data);
assert(data->cookie == MAGIC_COOKIE);
#endif
assert(buf);

if (type >= 1 && type <= 23)


Loading…
Cancel
Save