]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/motionpixels_tablegen.h
qsvdec: only access hwaccel_context is the pixel format is QSV
[ffmpeg] / libavcodec / motionpixels_tablegen.h
index cbf56c869447c1b186aecac968085689d2b6e8c6..2d0c0ffcde21d852df0c0eeb10f0f0a6924a9e56 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Header file for hardcoded motionpixels RGB to YUV table
+ * Header file for hardcoded motion pixels RGB to YUV table
  *
  * Copyright (c) 2009 Reimar Döffinger <Reimar.Doeffinger@gmx.de>
  *
@@ -30,7 +30,7 @@ typedef struct YuvPixel {
 } YuvPixel;
 
 static int mp_yuv_to_rgb(int y, int v, int u, int clip_rgb) {
-    static const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
+    static const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP;
     int r, g, b;
 
     r = (1000 * y + 701 * v) / 1000;