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 a400edbb) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
Showing
Please
register
or
sign in
to comment