ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Mon Mar 3 01:42:24 2025 +0100| [d5db4ee30c46456d7da2af01bf1f2c070811ff0b] | committer: Andreas Rheinhardt
avcodec/mjpegenc: Don't log to private context Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d5db4ee30c46456d7da2af01bf1f2c070811ff0b --- libavcodec/mjpegenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index 22d2b4816f..cd8eb8f6c1 100644 --- a/libavcodec/mjpegenc.c +++ b/libavcodec/mjpegenc.c @@ -318,7 +318,7 @@ av_cold int ff_mjpeg_encode_init(MpegEncContext *s) return ret; if (s->width > 65500 || s->height > 65500) { - av_log(s, AV_LOG_ERROR, "JPEG does not support resolutions above 65500x65500\n"); + av_log(s->avctx, AV_LOG_ERROR, "JPEG does not support resolutions above 65500x65500\n"); return AVERROR(EINVAL); } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".