]> git.sesse.net Git - ffmpeg/commit
avcodec/movtextenc: Remove redundant function parameters
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 16 Oct 2020 03:02:34 +0000 (05:02 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 19 Oct 2020 19:42:55 +0000 (21:42 +0200)
commiteab812d6d61912cddbfbe72ad4419286eb43514d
tree7070de1dfdd74483fe3fb8f86fb6a0510b378155
parent82c636313de07ecb11ed2100cc682e8503b24398
avcodec/movtextenc: Remove redundant function parameters

It makes no sense to call the functions to write styl, hlit or hclr boxes
with a different box name than "styl", "hlit" or "hclr". Therefore this
commit inlines these values in the functions, removes the function
parameter containing the box's name and removes the (non obsolete) box
names from the list of boxes.

Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/movtextenc.c