summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-10-10 22:05:43 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-10 22:05:43 +0000
commit3ba1438dec553ab106aac8895ddebc01e42c5b71 (patch)
treec3675504b449b68aa6b99a8429a1abb740507ae2 /ffmpeg.c
parentac8b03c0a807f9cc9d9bd4a14f290efb98bd87ec (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 8ad18f395f..103269877b 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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);