Revision a2704c97 ffmpeg.c

View differences:

ffmpeg.c
1352 1352

  
1353 1353
    total_size = url_fsize(oc->pb);
1354 1354
    if(total_size<0) // FIXME improve url_fsize() so it works with non seekable output too
1355
        total_size= url_ftell(oc->pb);
1355
        total_size= avio_tell(oc->pb);
1356 1356

  
1357 1357
    buf[0] = '\0';
1358 1358
    ti1 = 1e10;
......
2555 2555
        }
2556 2556

  
2557 2557
        /* finish if limit size exhausted */
2558
        if (limit_filesize != 0 && limit_filesize <= url_ftell(output_files[0]->pb))
2558
        if (limit_filesize != 0 && limit_filesize <= avio_tell(output_files[0]->pb))
2559 2559
            break;
2560 2560

  
2561 2561
        /* read a frame from it and output it in the fifo */

Also available in: Unified diff