Commit 96ae7ce6 authored by reimar's avatar reimar

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19713 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8d545aaf
......@@ -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