Ramiro Polla a8e2714d82 libavcodec/mjpeg: preserve unclipped last_dc value
Perform av_clip_int16(val) _after_ copying the value to last_dc.

This change ensures that clipping is applied only within the context of
the current block, preventing the propagation of clipped values to
subsequent DC components.

Related commits: c28f648b19d and dffae122d0f
Related ticket: 4683
2024-06-28 14:48:23 +02:00
..
2024-04-27 23:24:58 +02:00
2024-04-03 19:10:24 +02:00