This code cannot use av_assert* due to circular header dependancies Signed-off-by: Michael Niedermayer <michaelni@gmx.at>