Revision 8e2fd8e1 ffmpeg.c

View differences:

ffmpeg.c
2778 2778
                    !strcmp(filename, "/dev/stdin");
2779 2779

  
2780 2780
    /* get default parameters from command line */
2781
    ic = av_alloc_format_context();
2781
    ic = avformat_alloc_context();
2782 2782

  
2783 2783
    memset(ap, 0, sizeof(*ap));
2784 2784
    ap->prealloced_context = 1;
......
3267 3267
    if (!strcmp(filename, "-"))
3268 3268
        filename = "pipe:";
3269 3269

  
3270
    oc = av_alloc_format_context();
3270
    oc = avformat_alloc_context();
3271 3271

  
3272 3272
    if (!file_oformat) {
3273 3273
        file_oformat = guess_format(NULL, filename, NULL);
......
3900 3900
    for(i=0; i<CODEC_TYPE_NB; i++){
3901 3901
        avctx_opts[i]= avcodec_alloc_context2(i);
3902 3902
    }
3903
    avformat_opts = av_alloc_format_context();
3903
    avformat_opts = avformat_alloc_context();
3904 3904
    sws_opts = sws_getContext(16,16,0, 16,16,0, sws_flags, NULL,NULL,NULL);
3905 3905

  
3906 3906
    show_banner();

Also available in: Unified diff