summaryrefslogtreecommitdiff
path: root/libavformat/flacdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-28 17:21:03 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-02 11:55:22 +0200
commit7de9c0e9d7f537389a238b30d40eac57a2fbaf6d (patch)
treef78a73b2aae29d3571eb0f80b54e8e62dd16f62b /libavformat/flacdec.c
parent5089884e3c9d7369c7a6bae6da7f28de41365ec7 (diff)
downloadffmpeg-7de9c0e9d7f537389a238b30d40eac57a2fbaf6d.tar.gz
avcodec/flac: Don't use bytestream API unnecessarily
It makes no sense here, as flac_parse_block_header() is not even supposed to advance the caller's pointer. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/flacdec.c')
-rw-r--r--libavformat/flacdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c
index 09404b67bb..eadd41fc36 100644
--- a/libavformat/flacdec.c
+++ b/libavformat/flacdec.c
@@ -20,6 +20,7 @@
*/
#include "libavutil/channel_layout.h"
+#include "libavcodec/bytestream.h"
#include "libavcodec/flac.h"
#include "avformat.h"
#include "demux.h"