mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
rmdec: use av_assert for audio_pkt_cnt
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9aa630a520
commit
1bf5071104
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user