diff options
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r-- | libswresample/swresample_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h index 3f8090481b..17b85d5263 100644 --- a/libswresample/swresample_internal.h +++ b/libswresample/swresample_internal.h @@ -63,6 +63,7 @@ struct DitherContext { float ns_errors[SWR_CH_MAX][2*NS_TAPS]; AudioData noise; ///< noise used for dithering AudioData temp; ///< temporary storage when writing into the input buffer isnt possible + int output_sample_bits; ///< the number of used output bits, needed to scale dither correctly }; struct SwrContext { |