Re: [FFmpeg-devel] [PATCH] avcodec/videotoolbox: fix -Wunused-but-set-variable

2015-09-19 Thread Hendrik Leppkes
On Sat, Sep 19, 2015 at 9:58 PM, Ganesh Ajjanagadde wrote: > pix_fmt was declared presumably to shorten the argument passed to the > function. > However, it is currently not being used for such a purpose. > This patch makes it used for that purpose. > This fixes

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolbox: fix -Wunused-but-set-variable

2015-09-19 Thread Ganesh Ajjanagadde
On Sat, Sep 19, 2015 at 5:33 PM, Hendrik Leppkes wrote: > On Sat, Sep 19, 2015 at 9:58 PM, Ganesh Ajjanagadde > wrote: >> pix_fmt was declared presumably to shorten the argument passed to the >> function. >> However, it is currently not being used

[FFmpeg-devel] [PATCH] avcodec/videotoolbox: fix -Wunused-but-set-variable

2015-09-19 Thread Ganesh Ajjanagadde
pix_fmt was declared presumably to shorten the argument passed to the function. However, it is currently not being used for such a purpose. This patch makes it used for that purpose. This fixes -Wunused-but-set-variable reported at e.g: