]> git.sesse.net Git - ffmpeg/commit
avcodec/dolby_e_parse: Merge ff_dolby_e_parse_init/header
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 26 Jan 2021 14:46:15 +0000 (15:46 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 30 Jan 2021 04:14:45 +0000 (05:14 +0100)
commit8cbff41583409210abef0f57a1afbf8bb1f1f351
tree99719a940ef79f262e4fd1c4195c6510be1ecb0d
parentfa3ab43fecb49d544861a42a03e7432aa829de56
avcodec/dolby_e_parse: Merge ff_dolby_e_parse_init/header

These two functions are always called after another; after all, what
ff_dolby_e_parse_init does is obviously part of parsing the frame header.

Also move the DolbyEHeaderInfo into DBEContext so that parsing the frame
header only needs one struct (both users used a DBEContext immediately
followed by a separate DolbyEHeaderInfo).

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