aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-02-19 12:11:33 +0100
committerAnton Khirnov <anton@khirnov.net>2024-03-13 08:01:15 +0100
commitc4de5778bceab3c15f1239f1f16816749a7fd3b6 (patch)
treec82adee3a08d3ccf855a8aa71726633d06cdf181 /fftools/ffmpeg.h
parent48c39a9c71f8ede1b503176375a7ca6a930d3dd5 (diff)
downloadffmpeg-c4de5778bceab3c15f1239f1f16816749a7fd3b6.tar.gz
fftools/ffmpeg_dec: factor opening the decoder out of dec_open()
Rename dec_open to dec_init(), as it is more descriptive of its new purpose. Will be useful in following commits, which will add a new path for opening decoders.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 1c5ebcb43f..6b049e329b 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -740,7 +740,7 @@ AVBufferRef *hw_device_for_filter(void);
* @retval ">=0" non-negative scheduler index on success
* @retval "<0" an error code on failure
*/
-int dec_open(Decoder **pdec, Scheduler *sch,
+int dec_init(Decoder **pdec, Scheduler *sch,
AVDictionary **dec_opts, const DecoderOpts *o);
void dec_free(Decoder **pdec);