Browse Source

avcodec/bsf: Fix av_bsf_list_free()

Negate null check
Fixes CID1396248

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.3
Michael Niedermayer 9 years ago
parent
commit
762bf6f4af
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/bsf.c

+ 1
- 1
libavcodec/bsf.c 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)


Loading…
Cancel
Save