Make sure to not write the custom `encoder` string in that case. Bug-Id: 845 CC: libav-stable@libav.org