On 2018/1/22 22:15, wm4 wrote:
> On Mon, 22 Jan 2018 09:58:56 +0100
> Hendrik Leppkes wrote:
>
>> On Mon, Jan 22, 2018 at 8:55 AM, Jun Zhao wrote:
>>> Hi, all:
>>>
>>> When I read the code about av_init_packet(), I found we use
>>> av_init_packet() in most cases like this:
>>>
>>> av_init_p
On Mon, 22 Jan 2018 09:58:56 +0100
Hendrik Leppkes wrote:
> On Mon, Jan 22, 2018 at 8:55 AM, Jun Zhao wrote:
> > Hi, all:
> >
> > When I read the code about av_init_packet(), I found we use
> > av_init_packet() in most cases like this:
> >
> > av_init_packet(&enc_pkt);
> > enc_pkt.data =
On Mon, Jan 22, 2018 at 8:55 AM, Jun Zhao wrote:
> Hi, all:
>
> When I read the code about av_init_packet(), I found we use
> av_init_packet() in most cases like this:
>
> av_init_packet(&enc_pkt);
> enc_pkt.data = NULL;
> enc_pkt.size = 0;
>
> my question is: is it have any special re