aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-06-17 12:36:52 +0200
committerAnton Khirnov <anton@khirnov.net>2012-06-26 13:15:14 +0200
commit6c1e065bd4a20f6bcac14667ae11d7ffee1551d9 (patch)
tree99ce1be73b71acd6c6c498b05c2823a32edbaa6c /libavfilter
parent8d900aa4d0061967678c28d74659f918b0dbcad9 (diff)
downloadffmpeg-6c1e065bd4a20f6bcac14667ae11d7ffee1551d9.tar.gz
lavfi: remove disabled FF_API_SAMPLERATE64 cruft
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_resample.c4
-rw-r--r--libavfilter/avfilter.h4
-rw-r--r--libavfilter/version.h3
3 files changed, 0 insertions, 11 deletions
diff --git a/libavfilter/af_resample.c b/libavfilter/af_resample.c
index bc4a0073a1..8a02cfe976 100644
--- a/libavfilter/af_resample.c
+++ b/libavfilter/af_resample.c
@@ -119,11 +119,7 @@ static int config_output(AVFilterLink *outlink)
av_get_channel_layout_string(buf2, sizeof(buf2),
-1, outlink->channel_layout);
av_log(ctx, AV_LOG_VERBOSE,
-#if FF_API_SAMPLERATE64
- "fmt:%s srate:%"PRId64" cl:%s -> fmt:%s srate:%"PRId64" cl:%s\n",
-#else
"fmt:%s srate:%d cl:%s -> fmt:%s srate:%d cl:%s\n",
-#endif /* FF_API_SAMPLERATE64 */
av_get_sample_fmt_name(inlink ->format), inlink ->sample_rate, buf1,
av_get_sample_fmt_name(outlink->format), outlink->sample_rate, buf2);
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index b3b32dd0f6..5507a60897 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -541,11 +541,7 @@ 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
diff --git a/libavfilter/version.h b/libavfilter/version.h
index 38b61fd8d4..472643bc79 100644
--- a/libavfilter/version.h
+++ b/libavfilter/version.h
@@ -44,9 +44,6 @@
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
*/
-#ifndef FF_API_SAMPLERATE64
-#define FF_API_SAMPLERATE64 (LIBAVFILTER_VERSION_MAJOR < 3)
-#endif
#ifndef FF_API_VSRC_BUFFER_ADD_FRAME
#define FF_API_VSRC_BUFFER_ADD_FRAME (LIBAVFILTER_VERSION_MAJOR < 3)
#endif