zip password vHg1=45U
Forwarded by Kazuhiko Kido <kido.kazuhiko...@canon-its.co.jp> ----------------------- Original Message ----------------------- From: Kazuhiko Kido <kido.kazuhiko...@canon-its.co.jp> To: <opensg-users@lists.sourceforge.net> Date: Wed, 28 Nov 2012 10:26:05 +0900 Subject: OpenSG1.8 : Crash on OSGAVCodec ---- Hello, I am trying to create a movie file by using VideoGrab library (libVideoGlab.dll). But it seems to raise memory error at following code. OSGAVCode.cpp 257 AVCodecEncoder::initCodec 280 _video_outbuf_size= 200000; 281 _video_outbuf= (unsigned char*)av_malloc(_video_outbuf_size); When the actual out buffer size is over the allocated size, the program crashes after calling avcodec_encode_video. Buffer size should be allocated more flexibly or big enough(1024*1024), or prepare interface to specify the size. Please refer a sample program attached in this mail for reproduction the crash. Could you apply the fix? Thank you. -- Kazuhiko Kido <kido.kazuhiko...@canon-its.co.jp> --------------------- Original Message Ends -------------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users