diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-24 23:04:14 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-27 14:14:57 +0200 |
commit | 59eadb5060acd07ad2d4dc5dbb354ee81f034222 (patch) | |
tree | 79e5a357d8be9eaf8dedef722a254dddef869486 /libavcodec/flacenc.c | |
parent | b9eaf77ed1b3b551f71f90b3fb2624379d0b29c3 (diff) | |
download | ffmpeg-59eadb5060acd07ad2d4dc5dbb354ee81f034222.tar.gz |
avcodec/internal: Move ff_samples_to_time_base() to encode.h
It is only used by encoders; in fact, AVCodecContext.time_base
is only used by encoders, so it is only useful for encoders.
Also constify the AVCodecContext parameter in it.
Also fixup the other headers a bit while removing now unnecessary
internal.h inclusions.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r-- | libavcodec/flacenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 00f78fc814..73cf185314 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -32,7 +32,6 @@ #include "encode.h" #include "put_bits.h" #include "put_golomb.h" -#include "internal.h" #include "lpc.h" #include "flac.h" #include "flacdata.h" |