]> git.sesse.net Git - ffmpeg/commit
avcodec/dolby_e: Avoid duplicating sample rate table
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 26 Jan 2021 16:14:05 +0000 (17:14 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 30 Jan 2021 04:14:45 +0000 (05:14 +0100)
commit44e27d937d88f3e7cdc83f4de1b9d3a590bcaa04
treed5ac6333547dc0103848dcbe2b893e114d727feb
parent7c27513d0458c7e80925e27529acee4473baedf6
avcodec/dolby_e: Avoid duplicating sample rate table

Set the sample rate when parsing the header instead and only copy the
value in the decoder and the parser.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/dolby_e.c
libavcodec/dolby_e.h
libavcodec/dolby_e_parse.c
libavcodec/dolby_e_parser.c