aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/xsubenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-10-07 19:45:46 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-12 11:27:25 +0200
commit89ca63cc9cc2d64a949adba5da36ef3dff580fd2 (patch)
tree0fdae8d25a25cb2b97741ed87aade27bdf798947 /libavcodec/xsubenc.c
parent042117da75308f3d96df85ea4f97864d0142af3d (diff)
downloadffmpeg-89ca63cc9cc2d64a949adba5da36ef3dff580fd2.tar.gz
avcodec/mpegpicture: Split ff_alloc_picture() into check and alloc part
ff_alloc_picture() currently does two things: It checks the consistency of the linesize (which should not be necessary, but is) and it allocates certain buffers. (It does not actually allocate the picture buffers, so its name is misleading.) This commit splits it into two separate functions. The rationale for this is that for the encoders, every picture needs its linesizes checked, but not every picture needs these extra buffers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/xsubenc.c')
0 files changed, 0 insertions, 0 deletions