Merge commit 'a53551cba8'
* commit 'a53551cba8':
frame: fix the error path in av_frame_copy_props()
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
d9c4f61dab
1 changed files with 1 additions and 1 deletions
|
|
@ -483,8 +483,8 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
|
|||
if (!sd_dst) {
|
||||
for (i = 0; i < dst->nb_side_data; i++) {
|
||||
av_freep(&dst->side_data[i]->data);
|
||||
av_freep(&dst->side_data[i]);
|
||||
av_dict_free(&dst->side_data[i]->metadata);
|
||||
av_freep(&dst->side_data[i]);
|
||||
}
|
||||
av_freep(&dst->side_data);
|
||||
return AVERROR(ENOMEM);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue