Not working:
I tried:
AVPacket avpkt;
 avpkt.data = 0;
 av_init_packet(&avpkt);

 av_free_packet(&avpkt);

and also tried:
AVPacket avpkt;

 av_init_packet(&avpkt);
 avpkt.data = 0;
 av_free_packet(&avpkt);



2017-04-04 18:00 GMT+03:00 Anton Shekhovtsov <[email protected]>:

>
> 2017-04-04 17:56 GMT+03:00 יוסף אלון <[email protected]>:
>
>> When using the following:
>> AVPacket avpkt;
>>   av_init_packet(&avpkt);
>> //av_new_packet(&avpkt, 1000);
>>   av_free_packet(&avpkt);
>>
>> I get: *** stack smashing detected ***: "The project location" terminated
>>
>> How can i fix it?
>>
>>
>>
>> --
>> Yosef Alon
>>
>> _______________________________________________
>> Libav-user mailing list
>> [email protected]
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>>
> avpkt.data = 0
>
> _______________________________________________
> Libav-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>


-- 
בברכה, יוסף אלון
050-4916740
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to