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
307 307
308 if (!s->interlace_type) {308 if (!s->interlace_type) {
309 ptr = s->image_buf + s->image_linesize * (s->y + s->y_offset) + s->x_offset * s->bpp;309 ptr = s->image_buf + s->image_linesize * (s->y + s->y_offset) + s->x_offset * s->bpp;
310 if (s->y == 0)310 if (s->y == 0)
311 last_row = s->last_row;311 last_row = s->last_row;
312 else312 else
313 last_row = ptr - s->image_linesize;313 last_row = ptr - s->image_linesize;
314 314
315 png_filter_row(&s->dsp, ptr, s->crow_buf[0], s->crow_buf + 1,315 png_filter_row(&s->dsp, ptr, s->crow_buf[0], s->crow_buf + 1,
316 last_row, s->row_size, s->bpp);316 last_row, s->row_size, s->bpp);
317 /* loco lags by 1 row so that it doesn't interfere with top prediction */317 /* loco lags by 1 row so that it doesn't interfere with top prediction */
318 if (s->filter_type == PNG_FILTER_TYPE_LOCO && s->y > 0) {318 if (s->filter_type == PNG_FILTER_TYPE_LOCO && s->y > 0) {
319 if (s->bit_depth == 16) {319 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