Changes between Initial Version and Version 1 of Ticket #3236, comment 3


Ignore:
Timestamp:
Dec 24, 2013, 11:15:15 AM (7 years ago)
Author:
ubitux
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3236, comment 3

    initial v1  
    33{{{
    44diff --git a/libavfilter/vf_lut3d.c b/libavfilter/vf_lut3d.c
    5 index 79566be..d2c3417 100644
     5index 79566be..b132865 100644
    66--- a/libavfilter/vf_lut3d.c
    77+++ b/libavfilter/vf_lut3d.c
    8 @@ -291,9 +291,9 @@ static int parse_cube(AVFilterContext *ctx, FILE *f)
     8@@ -289,11 +289,11 @@ static int parse_cube(AVFilterContext *ctx, FILE *f)
     9                                 continue;
     10                             }
    911                         } while (skip_line(line));
    10                          if (sscanf(line, "%f %f %f", &vec->r, &vec->g, &vec->
     12-                        if (sscanf(line, "%f %f %f", &vec->r, &vec->g, &vec->b) != 3)
     13+                        if (sscanf(line, "%f %f %f", &vec->b, &vec->g, &vec->r) != 3)
    1114                             return AVERROR_INVALIDDATA;
    1215-                        vec->r *= max[0] - min[0];
     
    1922             }
    2023}}}
     24
     25Edit: sorry initial patch was missing the most important change.