Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AVPacket pack;
- av_read_frame(... , &pack);
- AVPacketList list;
- list->pkt = pack;
- av_dup_packet(&list->pkt);
- av_free_packet(&pack);
- av_free_packet(&list->pkt);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement