]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/v210enc.h
avcodec/dca: clear X96 channels if nothing was decoded
[ffmpeg] / libavcodec / v210enc.h
index 899a7d95c33c723737401d81e02ce534cf2767c3..51305c1a20c17b09ae068a7adaa530fad7115c10 100644 (file)
@@ -28,8 +28,8 @@ typedef struct V210EncContext {
                         const uint8_t *v, uint8_t *dst, ptrdiff_t width);
     void (*pack_line_10)(const uint16_t *y, const uint16_t *u,
                          const uint16_t *v, uint8_t *dst, ptrdiff_t width);
-    int sample_factor; /* This value must be the same for both 8-and 10-bit
-                          functions otherwise the output will be incorrect. */
+    int sample_factor_8;
+    int sample_factor_10;
 } V210EncContext;
 
 void ff_v210enc_init(V210EncContext *s);