ffmpeg/set_encoder_id: dont allocate encoder string if one is already set

Fixes memleak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>