Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer authored on 2012/06/12 03:14:22... | ... |
@@ -27,9 +27,8 @@ |
27 | 27 |
#include "avc.h" |
28 | 28 |
#include "metadata.h" |
29 | 29 |
#include "libavutil/dict.h" |
30 |
+#include "libavutil/avassert.h" |
|
30 | 31 |
|
31 |
-#undef NDEBUG |
|
32 |
-#include <assert.h> |
|
33 | 32 |
|
34 | 33 |
static const AVCodecTag flv_video_codec_ids[] = { |
35 | 34 |
{CODEC_ID_FLV1, FLV_CODECID_H263 }, |
... | ... |
@@ -453,7 +452,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) |
453 | 453 |
case AVMEDIA_TYPE_AUDIO: |
454 | 454 |
flags = get_audio_flags(s, enc); |
455 | 455 |
|
456 |
- assert(size); |
|
456 |
+ av_assert0(size); |
|
457 | 457 |
|
458 | 458 |
avio_w8(pb, FLV_TAG_TYPE_AUDIO); |
459 | 459 |
break; |