Commit 1bf50711 authored by Michael Niedermayer's avatar Michael Niedermayer

rmdec: use av_assert for audio_pkt_cnt

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9aa630a5
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/avassert.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/dict.h" #include "libavutil/dict.h"
...@@ -832,7 +833,7 @@ ff_rm_retrieve_cache (AVFormatContext *s, AVIOContext *pb, ...@@ -832,7 +833,7 @@ ff_rm_retrieve_cache (AVFormatContext *s, AVIOContext *pb,
{ {
RMDemuxContext *rm = s->priv_data; 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 || if (ast->deint_id == DEINT_ID_VBRF ||
ast->deint_id == DEINT_ID_VBRS) ast->deint_id == DEINT_ID_VBRS)
......
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