> This code is not very readable, due to the ugly c++ coding style and
bloat.

Oh, sorry you had problems reading my code.

>If I read it correctly, you are forgetting to flush the decoder after the
>end of the stream. You have to feed empty packets to the decoder until it
>returns no frame.

That's it! demuxing.c example had example how to flush the codec.

Now I'm nicely getting all the frames, well at least if there is one frame
per packet.

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

Reply via email to