mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 05:00:37 +00:00
avformat/mpeg: move the header_str free into end label
fix CID: 1454875 Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
parent
388e1fc9b5
commit
0b8956b25c
@ -905,9 +905,9 @@ static int vobsub_read_header(AVFormatContext *s)
|
|||||||
}
|
}
|
||||||
sub_st->codecpar->extradata_size = header.len;
|
sub_st->codecpar->extradata_size = header.len;
|
||||||
}
|
}
|
||||||
av_free(header_str);
|
|
||||||
|
|
||||||
end:
|
end:
|
||||||
|
|
||||||
|
av_free(header_str);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user