diff options
author | wm4 <nfxjfg@googlemail.com> | 2014-12-15 04:32:58 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-30 15:38:20 +0100 |
commit | df1ea139b4fbf98351ebb23dad748e8f74002616 (patch) | |
tree | e4f2c6ec6083dc6e517603dc25eac74b49882711 /doc/examples/decoding_encoding.c | |
parent | 844f7f78aa523fb452c0271cb7dc6742039b9d3c (diff) | |
download | ffmpeg-df1ea139b4fbf98351ebb23dad748e8f74002616.tar.gz |
lavu/frame: fix malloc error path in av_frame_copy_props()
The error path frees all side data, but forgets to reset the side data
count. This can blow up later in av_frame_unref() and free_side_data().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a400edbb6d00c0211de38e4f1b4f593681db91d8)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/examples/decoding_encoding.c')
0 files changed, 0 insertions, 0 deletions