aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/srtdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-07-04 10:22:53 +0200
committerAnton Khirnov <anton@khirnov.net>2024-08-01 10:09:25 +0200
commit54aa33f116b9451a50a39cffd5cec5bfd21a47a8 (patch)
treeaa3758d55a05b614e8aea697faa352a7e2cbd1f3 /libavformat/srtdec.c
parentd845ea49c5b6039df18f935103cbef588f223799 (diff)
downloadffmpeg-54aa33f116b9451a50a39cffd5cec5bfd21a47a8.tar.gz
lavc/ffv1: add a per-slice context
FFV1 decoder and encoder currently use the same struct - FFV1Context - both as codec private data and per-slice context. For this purpose FFV1Context contains an array of pointers to per-slice FFV1Context instances. This pattern is highly confusing, as it is not clear which fields are per-slice and which per-codec. Address this by adding a new struct storing only per-slice data. Start by moving slice_{x,y,width,height} to it.
Diffstat (limited to 'libavformat/srtdec.c')
0 files changed, 0 insertions, 0 deletions