]> git.sesse.net Git - ffmpeg/commit
avformat/swf: Separate mux and demux contexts
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 20 Sep 2020 11:21:28 +0000 (13:21 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 20 Sep 2020 16:34:48 +0000 (18:34 +0200)
commit913aa4204a2a2e0f3588f628441bf8d6edc12db7
treea4dc1c28b3b1d1a20cc731d7cf78ea0819d5fbab
parentbc0e776c9aaf06f437bf21e05a713fd54dc85400
avformat/swf: Separate mux and demux contexts

There was almost no overlap between them: The only field used by both
was an int named samples_per_frame. Therefore this commit separates
them.

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