aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/flac.h
diff options
context:
space:
mode:
authorAlexandra Hájková <alexandra@khirnov.net>2017-04-29 02:15:30 +0000
committerDiego Biurrun <diego@biurrun.de>2017-07-09 20:47:53 +0200
commit9c1e111406bd4cbb04d8e8611b71bebf203bec5e (patch)
treeb6a2f3991bf8fcdaafd2d423d0413eb49ffbf0b5 /libavcodec/flac.h
parent79f64f7ebc2b2b7030c6219914bc141cc03fd377 (diff)
downloadffmpeg-9c1e111406bd4cbb04d8e8611b71bebf203bec5e.tar.gz
flac: Convert to the new bitstream reader
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/flac.h')
-rw-r--r--libavcodec/flac.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/flac.h b/libavcodec/flac.h
index 3229682047..d050717fac 100644
--- a/libavcodec/flac.h
+++ b/libavcodec/flac.h
@@ -28,8 +28,8 @@
#define AVCODEC_FLAC_H
#include "avcodec.h"
+#include "bitstream.h"
#include "bytestream.h"
-#include "get_bits.h"
#define FLAC_STREAMINFO_SIZE 34
#define FLAC_MAX_CHANNELS 8
@@ -129,12 +129,12 @@ int ff_flac_get_max_frame_size(int blocksize, int ch, int bps);
/**
* Validate and decode a frame header.
* @param avctx AVCodecContext to use as av_log() context
- * @param gb GetBitContext from which to read frame header
+ * @param bc BitstreamContext from which to read frame header
* @param[out] fi frame information
* @param log_level_offset log level offset. can be used to silence error messages.
* @return non-zero on error, 0 if ok
*/
-int ff_flac_decode_frame_header(AVCodecContext *avctx, GetBitContext *gb,
+int ff_flac_decode_frame_header(AVCodecContext *avctx, BitstreamContext *bc,
FLACFrameInfo *fi, int log_level_offset);
void ff_flac_set_channel_layout(AVCodecContext *avctx);