Revision 3ba1438d ffmpeg.c

View differences:

ffmpeg.c
2777 2777

  
2778 2778
    /* if seeking requested, we execute it */
2779 2779
    if (start_time != 0) {
2780
        ret = av_seek_frame(ic, -1, timestamp);
2780
        ret = av_seek_frame(ic, -1, timestamp, AVSEEK_FLAG_BACKWARD);
2781 2781
        if (ret < 0) {
2782 2782
            fprintf(stderr, "%s: could not seek to position %0.3f\n", 
2783 2783
                    filename, (double)timestamp / AV_TIME_BASE);

Also available in: Unified diff