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:
709b54e
)
flvenc: use av_assert instead of assert
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 11 Jun 2012 18:14:22 +0000
(20:14 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 11 Jun 2012 18:14:22 +0000
(20:14 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/flvenc.c
patch
|
blob
|
history
diff --git
a/libavformat/flvenc.c
b/libavformat/flvenc.c
index
a562ea9
..
c636c66
100644
(file)
--- a/
libavformat/flvenc.c
+++ b/
libavformat/flvenc.c
@@
-27,9
+27,8
@@
#include "avc.h"
#include "metadata.h"
#include "libavutil/dict.h"
+#include "libavutil/avassert.h"
-#undef NDEBUG
-#include <assert.h>
static const AVCodecTag flv_video_codec_ids[] = {
{CODEC_ID_FLV1, FLV_CODECID_H263 },
@@
-453,7
+452,7
@@
static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
case AVMEDIA_TYPE_AUDIO:
flags = get_audio_flags(s, enc);
- a
ssert
(size);
+ a
v_assert0
(size);
avio_w8(pb, FLV_TAG_TYPE_AUDIO);
break;