libav: use avcodec_free_frame() with new Libav
commitabdf82a392ab1b23ecb413187143f20bdf2486a8
authorUoti Urpala <uau@mplayer2.org>
Sat, 3 Nov 2012 00:53:18 +0000 (3 02:53 +0200)
committerUoti Urpala <uau@mplayer2.org>
Sat, 3 Nov 2012 01:03:15 +0000 (3 03:03 +0200)
treeadb176762e39db233988071cabbc23e719bf338a
parent756e36be09728cceb6e509f68d52c1b3c33e0cb9
libav: use avcodec_free_frame() with new Libav

Latest Libav versions require that frame frame objects allocated with
avcodec_alloc_frame() must be freed with avcodec_free_frame(), instead
of the previously used av_free().
libmpcodecs/ad_ffmpeg.c
libmpcodecs/vd_ffmpeg.c
screenshot.c