Browse Source

avformat/mpeg: move the header_str free into end label

fix CID: 1454875

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
tags/n4.3
Steven Liu 6 years ago
parent
commit
0b8956b25c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/mpeg.c

+ 2
- 2
libavformat/mpeg.c View File

@@ -905,9 +905,9 @@ static int vobsub_read_header(AVFormatContext *s)
}
sub_st->codecpar->extradata_size = header.len;
}
av_free(header_str);

end:

av_free(header_str);
return ret;
}



Loading…
Cancel
Save