adjusted size to ensure the src from the codec runs properly