OSDN Git Service

crystalhd: Loop for a frame internally where possible.
authorPhilip Langdale <philipl@overt.org>
Wed, 12 Oct 2016 03:17:06 +0000 (20:17 -0700)
committerPhilip Langdale <philipl@overt.org>
Wed, 2 Nov 2016 20:47:57 +0000 (13:47 -0700)
commit3019b4f6480a5d8c38e0e32ef75dabe6e0f3ae98
tree95bb134203f12f1e7bfa18cc17f743bc1c4ce50f
parent0eb836942f5d6ff803e0374156ca21544e926e7c
crystalhd: Loop for a frame internally where possible.

It's not possible to return EAGAIN when we've passed input EOF and are
in draining mode. If do return EAGAIN, we're saying there's no way to
get any more output - which isn't true in many cases.

So let's handled these cases in an internal loop as best we can.
libavcodec/crystalhd.c