[Sumover-dev] [svn commit] r4559 - vic/branches/mpeg4/codec
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Mon Jan 11 10:39:29 GMT 2010
Author: douglask
Date: Mon Jan 11 10:39:29 2010
New Revision: 4559
Modified:
vic/branches/mpeg4/codec/ffmpeg_codec.h
Log:
Fix to avoid the followinig assertion failure with 1920x1080 H264 captures.
vic: codec/ffmpeg_codec.cpp:276: void FFMpegCodec::resize(int, int):
Assertion 'frame_size * 3 / 2 < MAX_FRAME_SIZE' failed.
Modified: vic/branches/mpeg4/codec/ffmpeg_codec.h
==============================================================================
--- vic/branches/mpeg4/codec/ffmpeg_codec.h (original)
+++ vic/branches/mpeg4/codec/ffmpeg_codec.h Mon Jan 11 10:39:29 2010
@@ -41,7 +41,7 @@
*/
typedef unsigned char UCHAR;
-const int MAX_FRAME_SIZE = 1920*1080;
+const int MAX_FRAME_SIZE = 1920*1080*3/2;
const int MAX_CODED_SIZE = 200000;
More information about the Sumover-dev
mailing list