Make output_example use av_interleaved_write_frame() instead of av_write_frame().