summaryrefslogtreecommitdiff
path: root/libswresample/swresample_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-08-18 11:52:11 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-08-18 11:52:11 +0200
commit30b2611ed3102c53a8aa96c71acf5dadb69997c8 (patch)
tree85aff1f741c3d7901c25657ebb8f0a1045fcef55 /libswresample/swresample_internal.h
parent946acacdcdff7eb9ac6430691ac6121516da9083 (diff)
downloadffmpeg-30b2611ed3102c53a8aa96c71acf5dadb69997c8.tar.gz
swresample: Skip over dither steps if dithering scale is 0
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r--libswresample/swresample_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h
index 3828b722cc..88dbc863da 100644
--- a/libswresample/swresample_internal.h
+++ b/libswresample/swresample_internal.h
@@ -120,6 +120,7 @@ struct SwrContext {
int64_t user_in_ch_layout; ///< User set input channel layout
int64_t user_out_ch_layout; ///< User set output channel layout
enum AVSampleFormat user_int_sample_fmt; ///< User set internal sample format
+ int user_dither_method; ///< User set dither method
struct DitherContext dither;