1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avcodec/bsf: Fix av_bsf_list_free()

Negate null check
Fixes CID1396248

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-12-26 23:45:53 +01:00
parent bd83c295fc
commit 762bf6f4af

View File

@ -403,7 +403,7 @@ void av_bsf_list_free(AVBSFList **lst)
{
int i;
if (*lst)
if (!*lst)
return;
for (i = 0; i < (*lst)->nb_bsfs; ++i)