You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/speedhqenc: Don't log to the private context
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -100,13 +100,13 @@ av_cold int ff_speedhq_encode_init(MpegEncContext *s)
|
||||
static AVOnce init_static_once = AV_ONCE_INIT;
|
||||
|
||||
if (s->width > 65500 || s->height > 65500) {
|
||||
av_log(s, AV_LOG_ERROR, "SpeedHQ does not support resolutions above 65500x65500\n");
|
||||
av_log(s->avctx, AV_LOG_ERROR, "SpeedHQ does not support resolutions above 65500x65500\n");
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
|
||||
// border is not implemented correctly at the moment, see ticket #10078
|
||||
if (s->width % 16) {
|
||||
av_log(s, AV_LOG_ERROR, "width must be a multiple of 16\n");
|
||||
av_log(s->avctx, AV_LOG_ERROR, "width must be a multiple of 16\n");
|
||||
return AVERROR_PATCHWELCOME;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user