avformat: Avoid a warning about mixed declarations and code