Revision ebb92e07 ffmpeg.c

View differences:

ffmpeg.c
521 521
        AVFormatContext *s = output_files[i];
522 522
        int j;
523 523
        if (!(s->oformat->flags & AVFMT_NOFILE) && s->pb)
524
            url_fclose(s->pb);
524
            avio_close(s->pb);
525 525
        avformat_free_context(s);
526 526
        av_free(output_streams_for_file[i]);
527 527
    }
......
3816 3816
        }
3817 3817

  
3818 3818
        /* open the file */
3819
        if ((err = url_fopen(&oc->pb, filename, URL_WRONLY)) < 0) {
3819
        if ((err = avio_open(&oc->pb, filename, URL_WRONLY)) < 0) {
3820 3820
            print_error(filename, err);
3821 3821
            ffmpeg_exit(1);
3822 3822
        }

Also available in: Unified diff