frame: fix the error path in av_frame_copy_props()
authorRoman Savchenko <gmstima@gmail.com>
Wed, 28 May 2014 20:16:56 +0000 (22:16 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 29 May 2014 05:59:56 +0000 (07:59 +0200)
commita53551cba86bb67efcb6105fdc337a36c43132bd
treec321dd8c31303e93cd9c8f3fa0441b07e7bdd164
parentad0fe2f4012031c47268f14b9835088c488e1998
frame: fix the error path in av_frame_copy_props()

First free metadata, then the side data it is contained in.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavutil/frame.c