Fix non-debug build.

Originally committed as revision 13149 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
François Revol 2008-05-13 17:43:18 +00:00
parent e4e69e0b8b
commit 7cf6af27c9

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)