Re: [FFmpeg-devel] [PATCH] Improve upon dynamic arrays- movtext subtitles

2015-05-25 Thread Niklesh Lalwani
Updated. Thanks, Niklesh From 00647a47883b0b547da77d3101f3f890634a85b4 Mon Sep 17 00:00:00 2001 From: Niklesh Date: Mon, 25 May 2015 22:46:04 +0530 Subject: [PATCH] Improve upon dynamic arrays- movtext subtitles Signed-off-by: Niklesh --- libavcodec/movtextdec.c | 34 ++---

Re: [FFmpeg-devel] [PATCH] Improve upon dynamic arrays- movtext subtitles

2015-05-25 Thread Philip Langdale
On Mon, 25 May 2015 21:51:36 +0530 Niklesh Lalwani wrote: > Updated Patch. > > Thanks, > > Niklesh use "return AVERROR(ENOMEM);" > On Mon, May 25, 2015 at 9:10 PM, Philip Langdale > wrote: > > > On Mon, 25 May 2015 00:37:03 +0530 > > Niklesh Lalwani wrote: > > > > > From: Niklesh > > > >

Re: [FFmpeg-devel] [PATCH] Improve upon dynamic arrays- movtext subtitles

2015-05-25 Thread Niklesh Lalwani
Updated Patch. Thanks, Niklesh On Mon, May 25, 2015 at 9:10 PM, Philip Langdale wrote: > On Mon, 25 May 2015 00:37:03 +0530 > Niklesh Lalwani wrote: > > > From: Niklesh > > > > Signed-off-by: Niklesh > > --- > > libavcodec/movtextdec.c | 32 > > 1 file chan

Re: [FFmpeg-devel] [PATCH] Improve upon dynamic arrays- movtext subtitles

2015-05-25 Thread Philip Langdale
On Mon, 25 May 2015 00:37:03 +0530 Niklesh Lalwani wrote: > From: Niklesh > > Signed-off-by: Niklesh > --- > libavcodec/movtextdec.c | 32 > 1 file changed, 16 insertions(+), 16 deletions(-) > > diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c >

[FFmpeg-devel] [PATCH] Improve upon dynamic arrays- movtext subtitles

2015-05-24 Thread Niklesh Lalwani
From: Niklesh Signed-off-by: Niklesh --- libavcodec/movtextdec.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c index 04e1c8a..11934f9 100644 --- a/libavcodec/movtextdec.c +++ b/libavcodec/

Re: [FFmpeg-devel] [PATCH] Improve upon dynamic arrays- movtext subtitles

2015-05-23 Thread Philip Langdale
On Fri, 22 May 2015 22:52:24 +0530 Niklesh Lalwani wrote: > From: Niklesh > > Using char** for style_start and style_end, and using uint8_t** for > style_entries. This seems to be the least messy way. Signed-off-by: > Niklesh --- > libavcodec/movtextdec.c | 29 + >

[FFmpeg-devel] [PATCH] Improve upon dynamic arrays- movtext subtitles

2015-05-22 Thread Niklesh Lalwani
From: Niklesh Using char** for style_start and style_end, and using uint8_t** for style_entries. This seems to be the least messy way. Signed-off-by: Niklesh --- libavcodec/movtextdec.c | 29 + 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/libavcod