History

avcodec/mjpegenc: Don't log to private context

Andreas Rheinhardt committed 1 year ago

Commit d5db4ee1 parent 6cdcf151 file · +1 −1Browse files

Unified · Split

libavcodec/mjpegenc.c+1−1
@@ -318,7 +318,7 @@ av_cold int ff_mjpeg_encode_init(MpegEncContext *s) · 317 unmodified lines
318 return ret;318 return ret;
319 319
320 if (s->width > 65500 || s->height > 65500) {320 if (s->width > 65500 || s->height > 65500) {
321 av_log(s, AV_LOG_ERROR, "JPEG does not support resolutions above 65500x65500\n");321 av_log(s->avctx, AV_LOG_ERROR, "JPEG does not support resolutions above 65500x65500\n");
322 return AVERROR(EINVAL);322 return AVERROR(EINVAL);
323 }323 }
324 324

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t