Hi, thanks for the source. It is very useful. However, you would like to know that there is a little bug in the example code. A small memory leak happens due to not releasing packet. I use it this way: Res := True; while Res do begin packet := ffCreateAVPacket(True); Res := ffRead(decoder, packet, FFDEC_RAW_FRAME_TYPE_ANY); // do your job here ffFreeAVPacket(packet); end;
Be the first to post a review of elettricad!