diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-21 21:17:24 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-09-12 20:51:46 +0400 |
commit | 4381bddc9f93da34a44e683bdc4c05c6f061244e (patch) | |
tree | 553faad5494c1b15bde6348ec79e83121baa1d3e /libavfilter/internal.h | |
parent | 2c0317419bc8c7f28496d5181d951bbe8837071f (diff) |
lavfi: consistently use int for sample_rate in AVFilterLink and AVFilterBufferRefAudioProps
Also consistent with AVCodecContext.sample_rate. Simplify/avoid
pointless type checks and conversions.
Breaks audio API/ABI.
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r-- | libavfilter/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h index bb9d0e576a..6173681067 100644 --- a/libavfilter/internal.h +++ b/libavfilter/internal.h @@ -88,7 +88,7 @@ int ff_parse_pixel_format(enum PixelFormat *ret, const char *arg, void *log_ctx) * @param log_ctx log context * @return 0 in case of success, a negative AVERROR code on error */ -int ff_parse_sample_rate(unsigned *ret, const char *arg, void *log_ctx); +int ff_parse_sample_rate(int *ret, const char *arg, void *log_ctx); /** * Parse a sample format name or a corresponding integer representation. |