[FFmpeg-devel] [Patch]Qualification task for TrueHD encoder

Michael Niedermayer michael at niedermayer.cc
Wed Apr 6 13:42:08 CEST 2016


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160406/9ecf7510/attachment.sig>


More information about the ffmpeg-devel mailing list