The problem is I have 2 projects, code that are exactly identical one 
crashes and the other doesn't.  What started the crash is when I 
changed one project to use the H261 codec, it crashed on access 
violation 0x0, so I change back to MPEG2VIDEO codec, what I have been 
using and worked fine before, now crashes with the same access 
violation 0x0. From now on I can no longer use that code even if I 
clean rebuild or restart the machine.  If I recheck out the exact code 
it will run fine (using MPEG2VIDEO codec).

It crashes on av_codec_encode().  I checked out the differences in 
parameters which are AVCodecContext and AVFrame.  The differences are 
as follows (same exact source), codec->supported_frame_rates, 
codec->pix_fmts, c->stats_out and c->coded frame are all 0x0. In 
non-crashing version these are not 0x0.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to