]> git.sesse.net Git - ffmpeg/commit
avcodec/sheervideo: Avoid code duplication when creating VLC tables
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 10 Oct 2020 18:28:16 +0000 (20:28 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 10 Oct 2020 18:59:05 +0000 (20:59 +0200)
commit8227f60fee0b2ae0924ee6f9b1ed505d3a443526
tree36a9ee3d370a7a567f4a73485dd35c5f6bbe97de
parentd3f35224a91e2f32c45a9d09f0867c688e590231
avcodec/sheervideo: Avoid code duplication when creating VLC tables

The SheerVideo decoder uses two VLC tables and these are in turn created
from structures (called SheerTable) that are naturally paired. This
commit unifies these pairs of SheerTables to arrays and unifies creating
the VLC tables.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/sheervideo.c
libavcodec/sheervideodata.h