diff options
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 357ce34555..69ada1b8be 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -596,7 +596,11 @@ struct AVFilterLink { AVRational sample_aspect_ratio; ///< agreed upon sample aspect ratio /* These two parameters apply only to audio */ uint64_t channel_layout; ///< channel layout of current buffer (see libavutil/audioconvert.h) +#if FF_API_SAMPLERATE64 int64_t sample_rate; ///< samples per second +#else + int sample_rate; ///< samples per second +#endif int format; ///< agreed upon media format |