On Thu, Oct 15, 2015 at 8:52 PM, Ganesh Ajjanagadde <gajjanaga...@gmail.com> wrote: > This will trigger a few warnings, mainly in swscale. > > Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com> > --- > libavutil/imgutils.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavutil/imgutils.h b/libavutil/imgutils.h > index 23282a3..164d0ad 100644 > --- a/libavutil/imgutils.h > +++ b/libavutil/imgutils.h > @@ -65,6 +65,7 @@ int av_image_get_linesize(enum AVPixelFormat pix_fmt, int > width, int plane); > * @param linesizes array to be filled with the linesize for each plane > * @return >= 0 in case of success, a negative error code otherwise > */ > +av_warn_unused_result > int av_image_fill_linesizes(int linesizes[4], enum AVPixelFormat pix_fmt, > int width); > > /** > @@ -78,6 +79,7 @@ int av_image_fill_linesizes(int linesizes[4], enum > AVPixelFormat pix_fmt, int wi > * @return the size in bytes required for the image buffer, a negative > * error code in case of failure > */ > +av_warn_unused_result > int av_image_fill_pointers(uint8_t *data[4], enum AVPixelFormat pix_fmt, int > height, > uint8_t *ptr, const int linesizes[4]); > > @@ -91,6 +93,7 @@ int av_image_fill_pointers(uint8_t *data[4], enum > AVPixelFormat pix_fmt, int hei > * @return the size in bytes required for the image buffer, a negative > * error code in case of failure > */ > +av_warn_unused_result > int av_image_alloc(uint8_t *pointers[4], int linesizes[4], > int w, int h, enum AVPixelFormat pix_fmt, int align); > > -- > 2.6.1 >
please ignore - I am going to put them all in a single thread. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel