decoder/ffmpeg: add libfmt formatter for AVSampleFormat

Fixes compiler warning because formatting unscoped enums is deprecated
since libfmt 9.
This commit is contained in:
Max Kellermann
2022-09-28 11:15:07 +02:00
parent 7ab0dfc8ce
commit 76efea3aa7
3 changed files with 42 additions and 0 deletions

View File

@@ -31,6 +31,7 @@
#include "lib/ffmpeg/Format.hxx"
#include "lib/ffmpeg/Codec.hxx"
#include "lib/ffmpeg/SampleFormat.hxx"
#include "lib/ffmpeg/LibFmt.hxx"
#include "../DecoderAPI.hxx"
#include "FfmpegMetaData.hxx"
#include "FfmpegIo.hxx"