jvdec: Return EOF on end of file
jvdec: Fix memory leak of jv->frames

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
jvdec: Do not feed the decoder with known wrong data

Still assume the size value is right in non-explode mode.
flv: Use the correct type to hold the file offset