summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2002-10-30 09:36:33 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-10-30 09:36:33 +0000
commitb2722d0a42d69bdb2461d37bad3b7ed6f7a6a51b (patch)
tree93af5fb7c69b2c2a188f1b5f0fda7e66a3ea592e /ffmpeg.c
parent5981f4e6930d134d6b3d11546cd3ff49ed6d09cf (diff)
-vcodec copy fix patch by (mru at users dot sourceforge dot net (Måns Rullgård))
Originally committed as revision 1114 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 d8c7d68a41..46b4f0098a 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1290,6 +1290,7 @@ static int av_encode(AVFormatContext **output_files,
/* no reencoding needed : output the packet directly */
/* force the input stream PTS */
av_write_frame(os, ost->index, data_buf, data_size);
+ ost->st->codec.frame_number++;
}
}
}