[Libav-user] *** stack smashing detected *** AVPacket

강구철 kckang at skycom.ne.kr
Thu Apr 13 03:35:41 EEST 2017


Hi I have a question about encoding audio into AAC 4.0 on Android. I set my channel count to 4 and my channel layout to AV_CH_LAYOUT_4POINT0 but when I try to configure my filter graph (with that as an output) I get

 

FFMPEG Error Level:16 Log: Output channel layout '5 channels (FL+FR+BR+FLC+SL)' is not supported

 

Which doesn't make sense, mainly because I set it to 4 channel. Am I using this incorrectly?

 

Thanks,

Michael

 

 

From: Libav-user [mailto:libav-user-bounces at ffmpeg.org] On Behalf Of Anton Shekhovtsov
Sent: Wednesday, April 05, 2017 12:01 AM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter.
Subject: Re: [Libav-user] *** stack smashing detected *** AVPacket

 

 

2017-04-04 17:56 GMT+03:00 יוסף אלון <yos104104 at gmail.com>:

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
Libav-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


avpkt.data = 0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170413/25fd3241/attachment.html>


More information about the Libav-user mailing list