History

avcodec/pngdec: fix indentation in handle_row()

Benoit Fouet committed 11 years ago

Commit 1d69ab91 parent 6e9b0601 file · +6 −6Browse files

Unified · Split

libavcodec/pngdec.c+6−6
@@ -307,13 +307,13 @@ static void png_handle_row(PNGDecContext *s) · 306 unmodified lines
307307
308308 if (!s->interlace_type) {
309309 ptr = s->image_buf + s->image_linesize * (s->y + s->y_offset) + s->x_offset * s->bpp;
310− if (s->y == 0)
311− last_row = s->last_row;
312− else
313− last_row = ptr - s->image_linesize;
310+ if (s->y == 0)
311+ last_row = s->last_row;
312+ else
313+ last_row = ptr - s->image_linesize;
314314
315− png_filter_row(&s->dsp, ptr, s->crow_buf[0], s->crow_buf + 1,
316− last_row, s->row_size, s->bpp);
315+ png_filter_row(&s->dsp, ptr, s->crow_buf[0], s->crow_buf + 1,
316+ last_row, s->row_size, s->bpp);
317317 /* loco lags by 1 row so that it doesn't interfere with top prediction */
318318 if (s->filter_type == PNG_FILTER_TYPE_LOCO && s->y > 0) {
319319 if (s->bit_depth == 16) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t