Revision fe3ab8ad

View differences:

libavformat/movenc.c
1355 1355
        put_buffer(pb, data, strlen(data));
1356 1356
        return updateSize(pb, pos);
1357 1357
    }else{
1358
        if (!lang)
1359
            lang = ff_mov_iso639_to_lang("und", 1);
1358 1360
        put_be16(pb, strlen(data)); /* string length */
1359 1361
        put_be16(pb, lang);
1360 1362
        put_buffer(pb, data, strlen(data));
......
1395 1397
            break;
1396 1398
        }
1397 1399
    }
1398
    if (!lang)
1399
        lang = ff_mov_iso639_to_lang("und", 1);
1400 1400
    return mov_write_string_tag(pb, name, t->value, lang, long_style);
1401 1401
}
1402 1402

  

Also available in: Unified diff