]> granicus.if.org Git - handbrake/commit
lame: Use libav wrapper to encode mp3lame
authorJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 16 Oct 2015 18:32:48 +0000 (11:32 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 26 Oct 2015 14:47:45 +0000 (07:47 -0700)
commitd05e644d5243dbd0d0cb7550e28345b897c8f7cd
tree42caf2af5d99d2c3c74e9c359a647743d498d3e2
parent7d7740033448cf58d560efdfa0b78562f6aa62d1
lame: Use libav wrapper to encode mp3lame

Fixes https://forum.handbrake.fr/viewtopic.php?f=12&t=33345
Some players expect each packet to start on an mp3 frame header. Our
mp3lame encoder did not ensure this and resulted in failure to play
audio on these players.

libav already has the necessary code to parse headers and
accumulate a full frame of data, so use it.
contrib/ffmpeg/module.defs
libhb/common.h
libhb/encavcodecaudio.c
libhb/enclame.c [deleted file]
libhb/hb.c
libhb/work.c