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/avienc.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/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index e36e88335f..2264241d57 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -28,6 +28,7 @@ #include "config_components.h" #include "riff.h" #include "mpegts.h" +#include "rawutils.h" #include "libavformat/avlanguage.h" #include "libavutil/avstring.h" #include "libavutil/avutil.h" |