Revision 859d95ba

View differences:

ffmpeg.c
915 915

  
916 916
    oc = output_files[0];
917 917

  
918
    total_size = url_ftell(&oc->pb);
918
    total_size = url_fsize(&oc->pb);
919
    if(total_size<0) // FIXME improve url_fsize() so it works with non seekable output too
920
        total_size= url_ftell(&oc->pb);
919 921

  
920 922
    buf[0] = '\0';
921 923
    ti1 = 1e10;

Also available in: Unified diff