]> git.sesse.net Git - ffmpeg/commit
avcodec/ylc: Use only one temporary buffer
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 8 Mar 2021 13:12:06 +0000 (14:12 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 8 Mar 2021 16:37:04 +0000 (17:37 +0100)
commit50645e50448bed39172af90d92bde92ee84a6055
tree6394a40d385ec9f791ab55062b0d667649d1b56a
parent6b48076f9de1e6ca648c71052105193a539818dd
avcodec/ylc: Use only one temporary buffer

The effective lifetime of the buffer used to build the VLCs and
the buffer containing the bitstream is disjoint, so that one can use
a common buffer for both.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/ylc.c