Hi.

>  So, the only way to be sure that things work for all kinds of demuxer is
>  to pull one packet from the stream, and then either dup or free it before
>  getting the next packet.  av_dup_packet and av_free_packet are each smart
>  enough to do the right thing for the situation.

av_free_packet seems to simply free the data - how it's useful in this case?

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

Reply via email to