Commit 7f4fca03 authored by Reimar Döffinger's avatar Reimar Döffinger

Increase maximum encoded subtitle size from 64 kB to 1 MB.

Fixes "dvd_subtitle too big" errors when encoding HD video subtitles
to DVD format.

Originally committed as revision 19713 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 63a78ef1
......@@ -798,7 +798,7 @@ static void do_subtitle_out(AVFormatContext *s,
int64_t pts)
{
static uint8_t *subtitle_out = NULL;
int subtitle_out_max_size = 65536;
int subtitle_out_max_size = 1024 * 1024;
int subtitle_out_size, nb, i;
AVCodecContext *enc;
AVPacket pkt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment