Thank you very much for your help.

Actually, it was my fault (again). I changed this :

   while (av_read_frame(formatContext, &packet) >= 0 && !extraxted)

by this:

   while (!extraxted && av_read_frame(formatContext, &packet) >= 0)

Because of that mistake, sometimes, a frame was read but never processed.

And now, it works like a charm!

Thanks!
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to