The crash is 
Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

If you need a compiled version of the test app I wrote, you can get it at 
http://dl.dropbox.com/u/610721/FFmpeg.app.zip

When logging out what it equals, it says it's 1... I don't know what could 
cause it to look like 0 to the debugger, but it is still crashing at the fist 
try of output_packet.
This is how I'm logging out.
int value = ((MPADecodeContext *)ist->st->codec->priv_data)->dither_state;
NSLog(@"%d", value);

I have also tested on a 64bit machine and it crashes. If you need a C based 
example, I could work on one.

On Mar 2, 2011, at 8:01 AM, Mr. Gecko wrote:

> I added a force register function and made all of the static variables 
> available to me so I can make them equal NULL so when I retry the things 
> registered would be reset and it still crashes.
> The things I made NULL are
> first_hwaccel = NULL;
> first_avcodec = NULL;
> av_first_parser = NULL;
> first_bitstream_filter = NULL;
> 
> first_iformat = NULL;
> first_oformat = NULL;
> first_protocol = NULL;
> 
> I'll try looking around in debug to see if I can find any static variables 
> that has to do with that sum variable. I can say that in the debug (from what 
> I remember) the variable sum is 0, I don't know if that could cause it to 
> crash.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to