diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-03-04 18:07:23 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-03-07 15:19:03 +0100 |
commit | 8940a6153ff60f9649d5bbde021df98bae68d543 (patch) | |
tree | 0eb9c425ab0fff7aa7be2abd099b249cea8eab16 /libavutil/eval.c | |
parent | 60cae5019a536fe988e01ea3986f656d109c2e70 (diff) | |
download | ffmpeg-8940a6153ff60f9649d5bbde021df98bae68d543.tar.gz |
avcodec/mjpegenc: Constify parent ctx in encode_block()
Said parent is shared between all slice contexts and encode_block()
can be run concurrently by slice threads, so the parent context
must not be (and is not) modified. So constify the pointers.
Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/eval.c')
0 files changed, 0 insertions, 0 deletions