summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2002-11-08 20:33:46 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-11-08 20:33:46 +0000
commit9ce2f2b133242a8e2291281bf5ffc63f43927a35 (patch)
tree35468a1efb94f8bef754dc403924ba7667d04d76 /ffmpeg.c
parentd7425f59d5fc01bccde90cccd42ba592961b2d03 (diff)
fixes the frame number counter for -vcodec copy patch by (mru at users dot sourceforge.net (Måns Rullgård))
Originally committed as revision 1176 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 59999b8c6f..af0a3cc78c 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1292,6 +1292,7 @@ static int av_encode(AVFormatContext **output_files,
/* force the input stream PTS */
av_write_frame(os, ost->index, data_buf, data_size);
ost->st->codec.frame_number++;
+ ost->frame_number++;
}
}
}