Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -104,6 +104,12 @@ av_cold int ff_speedhq_encode_init(MpegEncContext *s) · 103 unmodified lines | ||
| 104 | 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 | 113 | s->min_qcoeff = -2048; |
| 108 | 114 | s->max_qcoeff = 2047; |
| 109 | 115 | |