[FFmpeg-devel] [PATCH 5/7] utvideoenc: drop step
Michael Niedermayer
michaelni at gmx.at
Wed Aug 22 17:43:20 CEST 2012
On Wed, Aug 22, 2012 at 11:08:04AM -0400, Derek Buitenhuis wrote:
> On 22/08/2012 10:26 AM, Michael Niedermayer wrote:
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> > libavcodec/utvideoenc.c | 30 +++++++++++++++---------------
> > 1 file changed, 15 insertions(+), 15 deletions(-)
>
> [...]
>
> > for (j = 0; j < height; j++) {
> > - for (i = 0; i < width * step; i += step)
> > + for (i = 0; i < width; i ++)
>
> Stray space.
>
> > prev = 0x80; /* Set the initial value */
> > for (j = 0; j < height; j++) {
> > - for (i = 0; i < width * step; i += step) {
> > + for (i = 0; i < width; i ++) {
>
> Ditto.
>
> > /* First line uses left neighbour prediction */
> > prev = 0x80; /* Set the initial value */
> > - for (i = 0; i < width * step; i += step) {
> > + for (i = 0; i < width; i ++) {
>
> Ditto.
>
> > - for (i = step; i < width * step; i += step) {
> > + for (i = 1; i < width; i ++) {
>
> Ditto.
>
> > /* Rest of the coded part uses median prediction */
> > for (j = 2; j < height; j++) {
> > - for (i = 0; i < width * step; i += step) {
> > + for (i = 0; i < width; i ++) {
>
> Ditto.
>
> Otherwise, looks OK.
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120822/0b38fd9b/attachment.asc>
More information about the ffmpeg-devel
mailing list