diff options
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r-- | fftools/ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 064ec6d4b3..d721a5e721 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -2115,7 +2115,7 @@ static int decode(InputStream *ist, AVCodecContext *avctx, fd = (FrameData*)frame->opaque_ref->data; fd->pts = frame->pts; fd->tb = avctx->pkt_timebase; - fd->idx = avctx->frame_number - 1; + fd->idx = avctx->frame_num - 1; } *got_frame = 1; |