diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-26 16:04:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-26 16:13:16 +0200 |
commit | 1bf50711042ca72b6abd11bf236f87633c147dd3 (patch) | |
tree | f57336d8e406c63cd688ebb2df154348ffe50bb8 | |
parent | 9aa630a520eb985dc6eefa5bc0f96e8269265ecb (diff) | |
download | ffmpeg-1bf50711042ca72b6abd11bf236f87633c147dd3.tar.gz |
rmdec: use av_assert for audio_pkt_cnt
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/rmdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 07ecd32ab3..87573d7cf0 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/avassert.h" #include "libavutil/avstring.h" #include "libavutil/intreadwrite.h" #include "libavutil/dict.h" @@ -832,7 +833,7 @@ ff_rm_retrieve_cache (AVFormatContext *s, AVIOContext *pb, { RMDemuxContext *rm = s->priv_data; - assert (rm->audio_pkt_cnt > 0); + av_assert0 (rm->audio_pkt_cnt > 0); if (ast->deint_id == DEINT_ID_VBRF || ast->deint_id == DEINT_ID_VBRS) |