diff options
author | James Almer <jamrial@gmail.com> | 2017-07-19 01:53:22 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-07-21 12:18:10 -0300 |
commit | 7c9d2ad45f4e46ad2c3b2e93051efbe1e0d0529e (patch) | |
tree | 8e09f06e0aacaaeab767a406766d53e79b8acd1a /libavcodec/dca_core.c | |
parent | 99c5ac20397ec1814d6a50bed74cadd421ad8b9d (diff) | |
download | ffmpeg-7c9d2ad45f4e46ad2c3b2e93051efbe1e0d0529e.tar.gz |
avcodec/dca: remove GetBitContext usage from avpriv_dca_parse_core_frame_header()
This prevents potential ABI issues with GetBitContext.
Reviewed-by: foo86 <foobaz86@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/dca_core.c')
-rw-r--r-- | libavcodec/dca_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dca_core.c b/libavcodec/dca_core.c index 3add9f812b..6cb1f30a3c 100644 --- a/libavcodec/dca_core.c +++ b/libavcodec/dca_core.c @@ -82,7 +82,7 @@ static void get_array(GetBitContext *s, int32_t *array, int size, int n) static int parse_frame_header(DCACoreDecoder *s) { DCACoreFrameHeader h = { 0 }; - int err = avpriv_dca_parse_core_frame_header(&s->gb, &h); + int err = ff_dca_parse_core_frame_header(&h, &s->gb); if (err < 0) { switch (err) { |