diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-10-10 22:05:43 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-10-10 22:05:43 +0000 |
commit | 3ba1438dec553ab106aac8895ddebc01e42c5b71 (patch) | |
tree | c3675504b449b68aa6b99a8429a1abb740507ae2 /ffmpeg.c | |
parent | ac8b03c0a807f9cc9d9bd4a14f290efb98bd87ec (diff) | |
download | ffmpeg-3ba1438dec553ab106aac8895ddebc01e42c5b71.tar.gz |
use native timebase for seeking
direction flag for seeking
Originally committed as revision 3577 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2777,7 +2777,7 @@ static void opt_input_file(const char *filename) /* if seeking requested, we execute it */ if (start_time != 0) { - ret = av_seek_frame(ic, -1, timestamp); + ret = av_seek_frame(ic, -1, timestamp, AVSEEK_FLAG_BACKWARD); if (ret < 0) { fprintf(stderr, "%s: could not seek to position %0.3f\n", filename, (double)timestamp / AV_TIME_BASE); |