summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-05-06 10:40:11 +0200
committerAnton Khirnov <anton@khirnov.net>2012-05-09 20:30:28 +0200
commita6bdfc2a92a46aa7ee2d95a40f43b848ef94ec13 (patch)
tree25aa61758c09e060304207409da4393a23973b6b /libavfilter/avfilter.h
parent7ef0adcc2e800cb1357d4d5d7ce878c0f9a36c01 (diff)
lavfi: change AVFilterBufferRefAudioProps.sample_rate from uint32_t to int
There's no reason for it to be explicitly 32 bits. It's declared as a plain int in all other places in Libav. This breaks audio filtering API and ABI in theory, but since it's unusable right now this shouldn't be a problem.
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index cf95b4bb16..357ce34555 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -109,7 +109,7 @@ typedef struct AVFilterBuffer {
typedef struct AVFilterBufferRefAudioProps {
uint64_t channel_layout; ///< channel layout of audio buffer
int nb_samples; ///< number of audio samples
- uint32_t sample_rate; ///< audio buffer sample rate
+ int sample_rate; ///< audio buffer sample rate
int planar; ///< audio buffer - planar or packed
} AVFilterBufferRefAudioProps;