On 3/4/25 22:06, Andreas Rheinhardt wrote:
I added a comment to #10 and modified #18 as described. I also changed #21 to protect the macro in parentheses and simplified the FF_RC_OFFSET macro in #31. Furthermore, there are now five more patches. All attached. https://github.com/mkver/FFmpeg/tree/mpegvideo_misc has been force-pushed.
Subject: [PATCH 24/45] avcodec/mpegvideo_enc: Factor checks out of loop Also move this code to handle_matrices().
handle_matrices() -> init_matrices()
Subject: [PATCH 44/45] 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 (and is not) be modified. So constify the pointers.
"most not be (and is not) modified." No more comments from me. Thank you for all this cleanup work, it is really appreciated! Ramiro _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".