Works perfectly! Thank you both for your help.

One last question to make sure I understood everything..

>pkt.data = orig_ptr;
>pkt.size = orig_size;

Why do you set the data back before you free the packet? I tried without it
and it seemed to work. Is it needed?

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

Reply via email to