[FFmpeg-devel] [PATCH] libavfilter - avfilter_make_format_list skips sentinel -1
lou at lrcd.com
Wed Nov 23 00:50:29 CET 2011
On Wed, 23 Nov 2011 00:15:39 +0100, Robert Nagy wrote:
> Sorry for improper handwritten patch.
> Fixes a problem where 'avfilter_make_format_list' skips last element,
> thus does no end the format list with -1.
> >AVFilterFormats *avfilter_make_format_list(const int *fmts)
> > MAKE_FORMAT_LIST();
> >+ formats->formats[count] = -1;
> > while (count--)
> > formats->formats[count] = fmts[count];
> > return formats;
Attached is a formatted patch. Although I'm not sure of the proper
method of formatting someone else's patch or how to correctly give
credit (anyone care to dispel my ignorance?). I'm also not qualified to
review your patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 727 bytes
Desc: not available
More information about the ffmpeg-devel