Revision 384c9c2f ffmpeg.c

View differences:

ffmpeg.c
1365 1365

  
1366 1366
    total_size = url_fsize(oc->pb);
1367 1367
    if(total_size<0) // FIXME improve url_fsize() so it works with non seekable output too
1368
        total_size= url_ftell(oc->pb);
1368
        total_size= avio_tell(oc->pb);
1369 1369

  
1370 1370
    buf[0] = '\0';
1371 1371
    ti1 = 1e10;
......
2571 2571
        }
2572 2572

  
2573 2573
        /* finish if limit size exhausted */
2574
        if (limit_filesize != 0 && limit_filesize <= url_ftell(output_files[0]->pb))
2574
        if (limit_filesize != 0 && limit_filesize <= avio_tell(output_files[0]->pb))
2575 2575
            break;
2576 2576

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

Also available in: Unified diff