Free packet after av_interleaved_write_frame.