]> git.sesse.net Git - ffmpeg/commit
avformat/dss: Remove unnecessary allocation
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 2 Apr 2020 16:41:11 +0000 (18:41 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 3 Apr 2020 15:56:57 +0000 (17:56 +0200)
commitaebf314ab8ca93c00c2ee055d23d7ba14274a483
tree3a16e8f193c1ed404c1aee12f809e893792a8e58
parentab502fab6a78fcefb7f4aff18fcc25d92cb0ce04
avformat/dss: Remove unnecessary allocation

Put a buffer with a known fixed size into the demuxer's context instead
of allocating it separately. This also allows to remove the demuxer's
read_close()-function.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/dss.c