This makes it more readable. This is cherrypicked from libav commit 3bc5b28d5a. Signed-off-by: Martin Storsjö <martin@martin.st>
3bc5b28d5a