]> granicus.if.org Git - handbrake/commit
libav: fix latm aac decoder hang
authorJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 24 Feb 2017 00:39:06 +0000 (17:39 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 24 Feb 2017 00:42:23 +0000 (17:42 -0700)
commit6e8279c01056d9e294a2ecd3ed7631eebfdbe057
treed4066f424b90dc90a3c33f62cfd594feca914212
parent26b45473ff0cbf693474981c08d8c259e8497725
libav: fix latm aac decoder hang

Don't return EAGAIN from decoders.

When waiting for codec parameters, the decoder returned EAGAIN which was
meant to be interpreted as "send more data". But the new libav decoder
API changed the definition of EAGAIN to mean "send the same packet
again".  So hang.

(cherry picked from commit d1333595bc9ffb3b2445bc7cf530ff6c86eceb38)
contrib/ffmpeg/A16-decoder-hang-eagain.patch [new file with mode: 0644]