diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-07-04 10:22:53 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-08-01 10:09:25 +0200 |
commit | 54aa33f116b9451a50a39cffd5cec5bfd21a47a8 (patch) | |
tree | aa3758d55a05b614e8aea697faa352a7e2cbd1f3 /libavformat/srtdec.c | |
parent | d845ea49c5b6039df18f935103cbef588f223799 (diff) | |
download | ffmpeg-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