avcodec/prosumer: Error out if decompress() stops reading data