History

lavc/speedhqenc: Require width to be a multiple of 16

Tomas Härdin committed 2 years ago

Commit 4037d5e1 parent 017a18b1 file · +6 −0Browse files

Unified · Split

libavcodec/speedhqenc.c+6−0
@@ -104,6 +104,12 @@ av_cold int ff_speedhq_encode_init(MpegEncContext *s) · 103 unmodified lines
104 return AVERROR(EINVAL);104 return AVERROR(EINVAL);
105 }105 }
106 106
107 // border is not implemented correctly at the moment, see ticket #10078
108 if (s->width % 16) {
109 av_log(s, AV_LOG_ERROR, "width must be a multiple of 16\n");
110 return AVERROR_PATCHWELCOME;
111 }
112
107 s->min_qcoeff = -2048;113 s->min_qcoeff = -2048;
108 s->max_qcoeff = 2047;114 s->max_qcoeff = 2047;
109 115

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