If frame count is known at init time (cli & vfw), then abort if the 2nd pass
authorLoren Merritt <pengvado@videolan.org>
Wed, 26 Oct 2005 07:04:59 +0000 (07:04 +0000)
committerLoren Merritt <pengvado@videolan.org>
Wed, 26 Oct 2005 07:04:59 +0000 (07:04 +0000)
commit166601503800e00a33d88eb488da744a486ecb77
tree0a74f3e39890cc9d4a7430646b97525e83cecab3
parent75832019417943ed6a68b99bd75f5ef7efe1d998
If frame count is known at init time (cli & vfw), then abort if the 2nd pass
exceeds the length of the 1st pass.
If it's not known (mencoder), then report a non-fatal error when we run off the
end of the 1st pass stats, and switch to constant QP.

git-svn-id: svn://svn.videolan.org/x264/trunk@340 df754926-b1dd-0310-bc7b-ec298dee348c
encoder/encoder.c
encoder/ratecontrol.c
vfw/codec.c
vfw/x264vfw.h
x264.c
x264.h