vf_shuffleplanes: fix the type of the mapping indices
authorAnton Khirnov <anton@khirnov.net>
Thu, 6 Mar 2014 07:32:50 +0000 (08:32 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 6 Mar 2014 08:24:53 +0000 (09:24 +0100)
They are TYPE_INT AVOptions, so they must be ints

libavfilter/vf_shuffleplanes.c

index 8422d2f..1bc77b0 100644 (file)
@@ -34,7 +34,7 @@ typedef struct ShufflePlanesContext {
     int planes;
 
     /* mapping indices */
-    uint8_t map[4];
+    int map[4];
 
     /* set to 1 if some plane is used more than once, so we need to make a copy */
     int copy;