diff options
author | wm4 <nfxjfg@googlemail.com> | 2014-12-15 04:32:58 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-06 18:28:33 +0100 |
commit | c3cd7b8a2904566de19a70215ceaef4cab841d44 (patch) | |
tree | 2c851055ba21404f0486e7825e169215e59c296a /doc/examples/transcoding.c | |
parent | 0621421ee2a36bc0abd4901f363c4c3cf05d2e4a (diff) | |
download | ffmpeg-c3cd7b8a2904566de19a70215ceaef4cab841d44.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/transcoding.c')
0 files changed, 0 insertions, 0 deletions