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

2017-08-10 Thread Michael Niedermayer
On Thu, Aug 10, 2017 at 01:43:42AM +, Davinder Singh wrote: > On Thu, Aug 10, 2017 at 6:59 AM Michael Niedermayer > wrote: > > > On Wed, Aug 09, 2017 at 07:46:30AM +, Davinder Singh wrote: > > > hi, > > > > > > this disables unused function amv_encode_picture()

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

2017-08-09 Thread Davinder Singh
On Thu, Aug 10, 2017 at 6:59 AM Michael Niedermayer wrote: > On Wed, Aug 09, 2017 at 07:46:30AM +, Davinder Singh wrote: > > hi, > > > > this disables unused function amv_encode_picture() when AMV encoder is > > disabled (and mjpeg enabled). > > silences this warning:

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

2017-08-09 Thread Michael Niedermayer
On Wed, Aug 09, 2017 at 07:46:30AM +, Davinder Singh wrote: > 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

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

2017-08-09 Thread Davinder Singh
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