]> git.sesse.net Git - ffmpeg/commit
libavcodec/codec2utils: remove codec2_version_from_extradata()
authorJames Almer <jamrial@gmail.com>
Wed, 28 Oct 2020 14:59:16 +0000 (11:59 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 28 Oct 2020 14:59:16 +0000 (11:59 -0300)
commit7f76974e7d42c492ff6978b9d72ff618e8e2ccab
treed0ca09a686036ae416fa2ad56fdd5c037908c867
parent3916af4d95835d74d347ca640c7b7ee17b38f529
libavcodec/codec2utils: remove codec2_version_from_extradata()

It's only used in the codec2 demuxers, and can be simplified with an AV_RB16()
call instead.

Suggested-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/codec2utils.h
libavformat/codec2.c