diff options
author | Alexandra Hájková <alexandra@khirnov.net> | 2016-04-13 21:00:34 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-01-25 11:06:58 +0100 |
commit | 381a4e31a6b801a046e38b0e2b08fb61499157a7 (patch) | |
tree | 4f5dd5f494063f79c2ccb6630ee1e481de725879 /libavcodec/tak.h | |
parent | 2e0e150144d6c8fe641a45141638559fbf4d9642 (diff) | |
download | ffmpeg-streaming-381a4e31a6b801a046e38b0e2b08fb61499157a7.zip ffmpeg-streaming-381a4e31a6b801a046e38b0e2b08fb61499157a7.tar.gz |
tak: Convert to the new bitstream reader
Diffstat (limited to 'libavcodec/tak.h')
-rw-r--r-- | libavcodec/tak.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/tak.h b/libavcodec/tak.h index 19b1c47..c752062 100644 --- a/libavcodec/tak.h +++ b/libavcodec/tak.h @@ -30,7 +30,7 @@ #include <stdint.h> #include "avcodec.h" -#include "get_bits.h" +#include "bitstream.h" #define TAK_FORMAT_DATA_TYPE_BITS 3 #define TAK_FORMAT_SAMPLE_RATE_BITS 18 @@ -145,21 +145,21 @@ int ff_tak_check_crc(const uint8_t *buf, unsigned int buf_size); /** * Parse the Streaminfo metadata block. - * @param[in] gb pointer to GetBitContext + * @param[in] bc pointer to BitstreamContext * @param[out] s storage for parsed information */ -void avpriv_tak_parse_streaminfo(GetBitContext *gb, TAKStreamInfo *s); +void avpriv_tak_parse_streaminfo(BitstreamContext *bc, TAKStreamInfo *s); /** * Validate and decode a frame header. * @param avctx AVCodecContext to use as av_log() context - * @param[in] gb GetBitContext from which to read frame header + * @param[in] bc BitstreamContext from which to read frame header * @param[out] s 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_tak_decode_frame_header(AVCodecContext *avctx, GetBitContext *gb, +int ff_tak_decode_frame_header(AVCodecContext *avctx, BitstreamContext *bc, TAKStreamInfo *s, int log_level_offset); #endif /* AVCODEC_TAK_H */ |