libavcodec has codes like this one (utils.c):
static AVPacket *add_to_pktbuf(AVPacketList **packet_buffer, AVPacket *pkt,
AVPacketList **plast_pktl)
{
AVPacketList *pktl = av_mallocz(sizeof(AVPacketList));
if (!pktl)
return NULL;
if (*packet_buff
On Tue, 2 Feb 2016 14:31:20 -0800
Ratin wrote:
> libavcodec has codes like this one (utils.c):
>
> static AVPacket *add_to_pktbuf(AVPacketList **packet_buffer, AVPacket *pkt,
>AVPacketList **plast_pktl)
> {
> AVPacketList *pktl = av_mallocz(sizeof(AVPacketList
On Tue, Feb 2, 2016 at 11:41 PM, wm4 wrote:
> On Tue, 2 Feb 2016 14:31:20 -0800
> Ratin wrote:
>
> > libavcodec has codes like this one (utils.c):
> >
> > static AVPacket *add_to_pktbuf(AVPacketList **packet_buffer, AVPacket
> *pkt,
> >AVPacketList **plast_pktl)
>
On Sun, Feb 7, 2016 at 6:38 PM, Ratin wrote:
> On Tue, Feb 2, 2016 at 11:41 PM, wm4 wrote:
>
>> On Tue, 2 Feb 2016 14:31:20 -0800
>> Ratin wrote:
>>
>> > libavcodec has codes like this one (utils.c):
>> >
>> > static AVPacket *add_to_pktbuf(AVPacketList **packet_buffer, AVPacket
>> *pkt,
>> >