Browse Source

lut3d: Fix reading 3dl files with leading comments.

Fixes ticket #2787.
tags/n2.1
Carl Eugen Hoyos 12 years ago
parent
commit
42272e86fe
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavfilter/vf_lut3d.c

+ 1
- 2
libavfilter/vf_lut3d.c View File

@@ -314,8 +314,7 @@ static int parse_3dl(AVFilterContext *ctx, FILE *f)
const float scale = 16*16*16;

lut3d->lutsize = size;
if (!fgets(line, sizeof(line), f))
return AVERROR_INVALIDDATA;
NEXT_LINE(skip_line(line));
for (k = 0; k < size; k++) {
for (j = 0; j < size; j++) {
for (i = 0; i < size; i++) {


Loading…
Cancel
Save