free codec extradata in av_close_input_file