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
This commit is contained in:
Måns Rullgård 2002-11-08 20:33:46 +00:00 committed by Michael Niedermayer
parent d7425f59d5
commit 9ce2f2b133
1 changed files with 1 additions and 0 deletions

View File

@ -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++;
}
}
}