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>
Tue, 19 May 2015 11:03:20 +0000 (12:03 +0100)
commit78a3a4580c5a547af4ae8682c662ea3a4699a599
tree27261db3be8f940ce1bc573ad6e02aedcdf3795d
parent7244cefd6e6ba7258cb022dfd7a284099d88a3e8
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