Work around width/height being 0 in subtitle_codec_context(), seen