[FFmpeg-devel] [PATCH] yuv pixel formats support in openjpeg decoder + 10bit support
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Nov 12 12:10:32 CET 2011
Jean First <jeanfirst <at> gmail.com> writes:
> > + if (ispacked) {
> > + libopenjpeg_copy_to_packed8(picture, image);
> > + } else {
> > + libopenjpeg_copyto8(picture, image);
> > }
>
> the Curly brackets {} are not needed for the if {} else {}
But the are preferred in FFmpeg because they make future patches smaller (and
only cost one line).
Carl Eugen
More information about the ffmpeg-devel
mailing list