mp3: Properly use AVCodecContext API
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 9 Mar 2015 23:02:00 +0000 (23:02 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 11 Mar 2015 17:57:56 +0000 (17:57 +0000)
commitfe99c52fa99e44961a09cd1324aefd492b797fc8
treeb552046764bc2f73020c9fb223c91bceac516f29
parent9272c965d9559a90ee64d46aebd99c117e07f7a3
mp3: Properly use AVCodecContext API

Rather than having an unitialized context on the stack, allocate it with
defaults and free it when unneeded.

CC: libav-stable@libav.org
libavformat/mp3dec.c