[FFmpeg-devel] [PATCH] libopenjpeg wrapper for jpeg2k decoding

Diego Biurrun diego
Thu Jan 29 09:30:43 CET 2009


On Wed, Jan 28, 2009 at 02:23:46PM +0530, Jai Menon wrote:
> 
> On Wed, Jan 28, 2009 at 1:56 PM, Diego Biurrun <diego at biurrun.de> wrote:
> > On Wed, Jan 28, 2009 at 11:24:47AM +0530, Jai Menon wrote:
> >>
> >> --- libavcodec/libopenjpeg.c  (revision 0)
> >> +++ libavcodec/libopenjpeg.c  (revision 0)
> >> @@ -0,0 +1,183 @@
> >> +    if(!image) {
> >> +    }
> >> +    if (avcodec_check_dimensions(avctx, width, height) < 0) {
> >> +    }
> >
> > Inconsistent formatting; I would suggest K&R style with spaces.
> 
> ok, done.

Umm, no, you did not.  K&R uses a space after if/for/while.

Diego




More information about the ffmpeg-devel mailing list