]> git.sesse.net Git - ffmpeg/commit
mmaldec: correct package buffering accounting
authorwm4 <nfxjfg@googlemail.com>
Fri, 6 Nov 2015 12:02:16 +0000 (13:02 +0100)
committerwm4 <nfxjfg@googlemail.com>
Sat, 7 Nov 2015 18:24:49 +0000 (19:24 +0100)
commita55fbfa4c4967068a9c37f041110ace9fb633d4e
tree7e2d26544d6d043d70341b5826c9ba13e67aeeb3
parentb07cbf6724207ba768ebb2ccdee1b6749fd6ca31
mmaldec: correct package buffering accounting

The assert in ffmmal_stop_decoder() could trigger sometimes. The
packets_buffered counter was indeed not correctly maintained, and
packets were not subtracted from it if they were still in the waiting
queue.

For some reason, this happened especially with VC-1.
libavcodec/mmaldec.c