Commit d9a9518f authored by Michael Niedermayer's avatar Michael Niedermayer

flvenc: use av_assert instead of assert

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 709b54ea
...@@ -27,9 +27,8 @@ ...@@ -27,9 +27,8 @@
#include "avc.h" #include "avc.h"
#include "metadata.h" #include "metadata.h"
#include "libavutil/dict.h" #include "libavutil/dict.h"
#include "libavutil/avassert.h"
#undef NDEBUG
#include <assert.h>
static const AVCodecTag flv_video_codec_ids[] = { static const AVCodecTag flv_video_codec_ids[] = {
{CODEC_ID_FLV1, FLV_CODECID_H263 }, {CODEC_ID_FLV1, FLV_CODECID_H263 },
...@@ -453,7 +452,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -453,7 +452,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
case AVMEDIA_TYPE_AUDIO: case AVMEDIA_TYPE_AUDIO:
flags = get_audio_flags(s, enc); flags = get_audio_flags(s, enc);
assert(size); av_assert0(size);
avio_w8(pb, FLV_TAG_TYPE_AUDIO); avio_w8(pb, FLV_TAG_TYPE_AUDIO);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment