A minor code cleanup in avformat producer.