diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-06 16:04:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-10 07:29:32 +0200 |
commit | 533836b8e0e5693b3d3e8403666ce216687d51b3 (patch) | |
tree | 5ce24749b49255d4055ab6bb3519d1f7a470cce0 /libavformat/movenc.c | |
parent | ba49acf143743bc9480566a52e94030cf38bfc75 (diff) | |
download | ffmpeg-533836b8e0e5693b3d3e8403666ce216687d51b3.tar.gz |
avformat/utils: Move ff_get_packet_palette() to rawutils.c
ff_get_packet_palette() and ff_reshuffle_raw_rgb() belong together:
E.g. the former takes the return value of the latter as argument.
So move ff_get_packet_palette() to rawutils.c (which consists solely
of ff_reshuffle_raw_rgb()).
Also add a separate header for these two functions.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index d32328d40c..c720fd742d 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -62,6 +62,7 @@ #include "mov_chan.h" #include "movenc_ttml.h" #include "mux.h" +#include "rawutils.h" #include "ttmlenc.h" #include "version.h" #include "vpcc.h" |