On 5/10/13, mohM <[email protected]> wrote: > I saw another thread on here similar to this, but it didn't really solve my > problem. Basically, I'm still working on getting my audio encoding to work, > and I'm now having trouble getting a basic audio encode to work...What I'm > trying to do is get a single frame of audio to encode. The first call to > avcodec_encode_audio2() is successfull, and if I leave out the flush loop, > the console output tells me: > > As far as I can understand from the documentation and my experience with > video encoding, this is pretty normal. When I try to flush the frame by > passing NULL into avcodec_encode_audio2(), however, the program crashes and > says "Integer division by zero" in mlock.c. Am I doing something wrong > here? > Any ideas?
What codec? Note that only some encoders actually supports flushing. > > > > > > -- > View this message in context: > http://libav-users.943685.n4.nabble.com/Flushing-Audio-Frame-Crash-tp4657562.html > Sent from the libav-users mailing list archive at Nabble.com. > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
