aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-08-26 10:22:27 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-08-26 10:22:27 +0000
commit7f4fca038dc8f3309be331c8c8f57f03e71c9f42 (patch)
tree2782b90b7e20c674c327bc66d5c71df2dfc31778 /ffmpeg.c
parent63a78ef1315b451a1faadfdea4d7d6f8c05d0b6a (diff)
downloadffmpeg-7f4fca038dc8f3309be331c8c8f57f03e71c9f42.tar.gz
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
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 9e41bbc786..3df78f9bef 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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;