Unified · Split
| @@ -379,7 +379,7 @@ static int encode_dvd_subtitles(AVCodecContext *avctx, · 378 unmodified lines | |||
| 379 | if (x2 > avctx->width || y2 > avctx->height) { | 379 | if (x2 > avctx->width || y2 > avctx->height) { |
| 380 | av_log(avctx, AV_LOG_ERROR, "canvas_size(%d:%d) is too small(%d:%d) for render\n", | 380 | av_log(avctx, AV_LOG_ERROR, "canvas_size(%d:%d) is too small(%d:%d) for render\n", |
| 381 | avctx->width, avctx->height, x2, y2); | 381 | avctx->width, avctx->height, x2, y2); |
| 382 | ret = AVERROR(EINVAL);; | 382 | ret = AVERROR(EINVAL); |
| 383 | goto fail; | 383 | goto fail; |
| 384 | } | 384 | } |
| 385 | *q++ = 0x05; | 385 | *q++ = 0x05; |