On Wed, Apr 06, 2016 at 07:56:55AM +0530, Disha Singh wrote: > > there are the following build warnings, please fix them > > > > libavcodec/mlpenc.c: In function ‘mlp_encode_init’: > > libavcodec/mlpenc.c:585:5: warning: ‘coded_frame’ is deprecated (declared > > at libavcodec/avcodec.h:2967) [-Wdeprecated-declarations] > > libavcodec/mlpenc.c: In function ‘mlp_encode_frame’: > > libavcodec/mlpenc.c:2369:5: warning: ‘coded_frame’ is deprecated (declared > > at libavcodec/avcodec.h:2967) [-Wdeprecated-declarations] > > libavcodec/mlpenc.c: In function ‘mlp_encode_close’: > > libavcodec/mlpenc.c:2469:5: warning: ‘coded_frame’ is deprecated (declared > > at libavcodec/avcodec.h:2967) [-Wdeprecated-declarations] > > > > During build other encoders too give this warning (deprecation of > coded->frame), so I could not figure out how to fix it. Please give some > clue regarding what to be used instead of "coded->frame". :)
coded_frame can just be dropped one could try to export the keyframe flag via AVPacket.flags but iam not sure if that would do any good for MLP/truhd. It would be the only audio encoder to do that i think [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those who are best at talking, realize last or never when they are wrong.
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel