Revision a52ce57d

View differences:

libavformat/output-example.c
447 447

  
448 448
    /* auto detect the output format from the name. default is
449 449
       mpeg. */
450
    fmt = guess_format(NULL, filename, NULL);
450
    fmt = av_guess_format(NULL, filename, NULL);
451 451
    if (!fmt) {
452 452
        printf("Could not deduce output format from file extension: using MPEG.\n");
453
        fmt = guess_format("mpeg", NULL, NULL);
453
        fmt = av_guess_format("mpeg", NULL, NULL);
454 454
    }
455 455
    if (!fmt) {
456 456
        fprintf(stderr, "Could not find suitable output format\n");

Also available in: Unified diff