[FFmpeg-devel] [PATCH] avcodec/mjpegenc: disable unused code with AMV

Davinder Singh ds.mudhar at gmail.com
Wed Aug 9 10:46:30 EEST 2017


hi,

this disables unused function amv_encode_picture() when AMV encoder is
disabled (and mjpeg enabled).
silences this warning:
CC libavcodec/mjpegenc.o
libavcodec/mjpegenc.c:351:12: warning: unused function 'amv_encode_picture'
[-Wunused-function]
static int amv_encode_picture(AVCodecContext *avctx, AVPacket *pkt,
           ^

Patch attached.

Regards.
-- 
Davinder Singh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-mjpegenc-disable-unused-code-with-AMV.patch
Type: application/octet-stream
Size: 2518 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170809/8f4f17f6/attachment.obj>


More information about the ffmpeg-devel mailing list