[FFmpeg-cvslog] avcodec/avs3_parser: Fix usage of init_get_bits() and use init_get_bits8()

Limin Wang git at videolan.org
Wed Oct 13 15:29:42 EEST 2021


ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Fri Oct  8 22:08:12 2021 +0800| [f25871d790b77dcce82c33343b87828a176f329b] | committer: Limin Wang

avcodec/avs3_parser: Fix usage of init_get_bits() and use init_get_bits8()

Signed-off-by: Limin Wang <lance.lmwang at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f25871d790b77dcce82c33343b87828a176f329b
---

 libavcodec/avs3_parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/avs3_parser.c b/libavcodec/avs3_parser.c
index 1a05ea042e..d04d96a03a 100644
--- a/libavcodec/avs3_parser.c
+++ b/libavcodec/avs3_parser.c
@@ -73,7 +73,7 @@ static void parse_avs3_nal_units(AVCodecParserContext *s, const uint8_t *buf,
             GetBitContext gb;
             int profile, ratecode;
 
-            init_get_bits(&gb, buf + 4, buf_size - 4);
+            init_get_bits8(&gb, buf + 4, buf_size - 4);
 
             s->key_frame = 1;
             s->pict_type = AV_PICTURE_TYPE_I;



More information about the ffmpeg-cvslog mailing list