libvpx: Fix mixed use of av_malloc() and av_reallocp()
authorVittorio Giovara <vittorio.giovara@gmail.com>
Sun, 8 Mar 2015 21:08:16 +0000 (21:08 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 9 Mar 2015 12:58:18 +0000 (12:58 +0000)
commit93f7948136fcda8ddbbc44a6c24418f11ca829b8
tree89335e1c423f1ad2b73586b7b6bba61a504fd750
parentad94c6ca0b86c463f476b26606259a2041dcddc9
libvpx: Fix mixed use of av_malloc() and av_reallocp()

This buffer is resized when vpx_codec_get_cx_data() returns a
VPX_CODEC_STATS_PKT packet.

CC: libav-stable@libav.org
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/libvpxenc.c