]> git.sesse.net Git - ffmpeg/commit
libopencore-amrnbenc: fix end-of-stream handling
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 4 Mar 2012 05:25:45 +0000 (00:25 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sun, 4 Mar 2012 06:14:53 +0000 (01:14 -0500)
commitfe78470a8baf0198e9442a9eece24cc9c8462155
tree9f7310a6eafed61f424b691d75534c30cf9667e3
parentb0350c1c30908dbe7901c4eb07663bb58e575902
libopencore-amrnbenc: fix end-of-stream handling

Use CODEC_CAP_DELAY and CODEC_CAP_SMALL_LAST_FRAME to properly pad and flush
the encoder at the end of encoding. This is needed in order to have all input
samples decoded.
libavcodec/libopencore-amr.c