[FFmpeg-devel] [PATCH] [PATCH] lavfi: add inverse telecine filter

2015-03-10 Thread Himangi Saraogi
--git a/libavfilter/vf_detelecine.c b/libavfilter/vf_detelecine.c new file mode 100644 index 000..ce9ba74 --- /dev/null +++ b/libavfilter/vf_detelecine.c @@ -0,0 +1,323 @@ +/* + * Copyright (c) 2015 Himangi Saraogi + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can

Re: [FFmpeg-devel] [PATCH] [PATCH] lavfi: add inverse telecine filter

2015-03-10 Thread Himangi Saraogi
On 11 March 2015 at 04:00, Carl Eugen Hoyos wrote: > Himangi Saraogi gmail.com> writes: > > > +{"pattern", "pattern that describe for how many > > fields a frame is to be displayed", OFFSET(pattern), > > This works fine in a quick test. >

Re: [FFmpeg-devel] [PATCH] [PATCH] lavfi: add inverse telecine filter

2015-03-11 Thread Himangi Saraogi
On 11 March 2015 at 15:10, Clément Bœsch wrote: > On Wed, Mar 11, 2015 at 07:12:16AM +, Carl Eugen Hoyos wrote: > > Timothy Gu gmail.com> writes: > > > > > > This is an exact inverse of the telecine filter > > > > unlike previously existing pullup and fieldmatch > > > > ones. > > > > > > Wha

Re: [FFmpeg-devel] [PATCH] [PATCH] lavfi: add inverse telecine filter

2015-03-16 Thread Himangi Saraogi
On 14 March 2015 at 09:42, Michael Niedermayer wrote: > On Wed, Mar 11, 2015 at 03:20:47AM +0530, Himangi Saraogi wrote: > > This is an exact inverse of the telecine filter unlike previously > existing > > pullup and fieldmatch ones. > > > > The algorithm was br

[FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-22 Thread Himangi Saraogi
pyright (c) 2015 Himangi Saraogi + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, o

[FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-25 Thread Himangi Saraogi
ex 000..cb4ac0e --- /dev/null +++ b/libavfilter/vf_detelecine.c @@ -0,0 +1,339 @@ +/* + * Copyright (c) 2015 Himangi Saraogi + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + *

[FFmpeg-devel] [PATCH] avcodec/j2kenc: Initialize variable to silence compiler warnings

2015-03-25 Thread Himangi Saraogi
--- libavcodec/j2kenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index ddb0b68..a795e03 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -430,7 +430,7 @@ static void init_quantization(Jpeg2000EncoderContext *s)

[FFmpeg-devel] [PATCH] avfilter/vf_telecine: Add ts_mode option for using the first input timestamp

2015-03-25 Thread Himangi Saraogi
--- libavfilter/vf_telecine.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_telecine.c b/libavfilter/vf_telecine.c index a0f28d4..aaad2b5 100644 --- a/libavfilter/vf_telecine.c +++ b/libavfilter/vf_telecine.c @@ -38,6 +38,8 @@ typedef struct {

Re: [FFmpeg-devel] [PATCH] avfilter/vf_telecine: Add ts_mode option for using the first input timestamp

2015-03-25 Thread Himangi Saraogi
On 26 March 2015 at 00:06, Carl Eugen Hoyos wrote: > Himangi Saraogi gmail.com> writes: > > > +{"ts_mode", "set to choose timestamp handling as > > being with respect to the input", OFFSET(ts_mode), > > Isn't the new behaviour that you i

[FFmpeg-devel] [PATCH] avfilter/vf_telecine: Fix AV desync by using the first input timestamp

2015-03-25 Thread Himangi Saraogi
--- libavfilter/vf_telecine.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_telecine.c b/libavfilter/vf_telecine.c index a0f28d4..4b46ac4 100644 --- a/libavfilter/vf_telecine.c +++ b/libavfilter/vf_telecine.c @@ -38,6 +38,7 @@ typedef struct { int f

[FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-25 Thread Himangi Saraogi
drawtext, vf); diff --git a/libavfilter/vf_detelecine.c b/libavfilter/vf_detelecine.c new file mode 100644 index 000..f0c5c6a --- /dev/null +++ b/libavfilter/vf_detelecine.c @@ -0,0 +1,343 @@ +/* + * Copyright (c) 2015 Himangi Saraogi + * + * This file is part of FFmpeg. + * + * FFmp

[FFmpeg-devel] [PATCH] avfilter/vf_telecine: Fix AV desync by using the first input timestamp

2015-03-25 Thread Himangi Saraogi
--- libavfilter/vf_telecine.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_telecine.c b/libavfilter/vf_telecine.c index a0f28d4..9789f37 100644 --- a/libavfilter/vf_telecine.c +++ b/libavfilter/vf_telecine.c @@ -38,6 +38,7 @@ typedef struct { int f

[FFmpeg-devel] [PATCH] avfilter/vf_telecine: Fix AV desync by using the first input timestamp

2015-03-25 Thread Himangi Saraogi
--- libavfilter/vf_telecine.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_telecine.c b/libavfilter/vf_telecine.c index a0f28d4..c75395a 100644 --- a/libavfilter/vf_telecine.c +++ b/libavfilter/vf_telecine.c @@ -38,6 +38,7 @@ typedef struct { int

[FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-25 Thread Himangi Saraogi
drawtext, vf); diff --git a/libavfilter/vf_detelecine.c b/libavfilter/vf_detelecine.c new file mode 100644 index 000..88796b0 --- /dev/null +++ b/libavfilter/vf_detelecine.c @@ -0,0 +1,344 @@ +/* + * Copyright (c) 2015 Himangi Saraogi + * + * This file is part of FFmpeg. + * + * FFmp

[FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-26 Thread Himangi Saraogi
--- /dev/null +++ b/libavfilter/vf_detelecine.c @@ -0,0 +1,344 @@ +/* + * Copyright (c) 2015 Himangi Saraogi + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by

[FFmpeg-devel] [PATCH] avfilter/vf_telecine: Fix loss of AVFrame properties in output

2015-03-26 Thread Himangi Saraogi
--- libavfilter/vf_telecine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_telecine.c b/libavfilter/vf_telecine.c index c75395a..74f0931 100644 --- a/libavfilter/vf_telecine.c +++ b/libavfilter/vf_telecine.c @@ -243,6 +243,7 @@ static int filter_frame(AVFilterLink *inlink, AV

[FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-26 Thread Himangi Saraogi
file mode 100644 index 000..27f8fba --- /dev/null +++ b/libavfilter/vf_detelecine.c @@ -0,0 +1,345 @@ +/* + * Copyright (c) 2015 Himangi Saraogi + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser

[FFmpeg-devel] [PATCH] avfilter/vf_telecine: Fix loss of AVFrame properties in output

2015-03-26 Thread Himangi Saraogi
--- libavfilter/vf_telecine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_telecine.c b/libavfilter/vf_telecine.c index c75395a..73447df 100644 --- a/libavfilter/vf_telecine.c +++ b/libavfilter/vf_telecine.c @@ -241,6 +241,7 @@ static int filter_frame(AVFilterLink *inlink, AV

[FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-26 Thread Himangi Saraogi
--- /dev/null +++ b/libavfilter/vf_detelecine.c @@ -0,0 +1,345 @@ +/* + * Copyright (c) 2015 Himangi Saraogi + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by

[FFmpeg-devel] [PATCH] avfilter/vf_telecine: Avoid floating point values

2015-03-27 Thread Himangi Saraogi
--- libavfilter/vf_telecine.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_telecine.c b/libavfilter/vf_telecine.c index 73447df..93e5aa9 100644 --- a/libavfilter/vf_telecine.c +++ b/libavfilter/vf_telecine.c @@ -41,7 +41,7 @@ typedef struct { int64

[FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-27 Thread Himangi Saraogi
--- /dev/null +++ b/libavfilter/vf_detelecine.c @@ -0,0 +1,346 @@ +/* + * Copyright (c) 2015 Himangi Saraogi + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by

Re: [FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-27 Thread Himangi Saraogi
On 27 March 2015 at 22:00, Paul B Mahol wrote: > Dana 27. 3. 2015. 15:07 osoba "Himangi Saraogi" > napisala je: > > > > --- > > Changelog | 1 + > > doc/filters.texi| 27 > > libavfilter/Makefile

[FFmpeg-devel] [PATCH] tiff: Return more meaningful error codes

2015-03-28 Thread Himangi Saraogi
--- libavcodec/tiffenc.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 44cd956..fc9b78e 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -164,7 +164,8 @@ static int add_entry1(TiffEncoderContext *s,

[FFmpeg-devel] [PATCH] tiff: Return more meaningful error codes

2015-03-28 Thread Himangi Saraogi
--- libavcodec/tiffenc.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 44cd956..a94b700 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -164,7 +164,8 @@ static int add_entry1(TiffEncoderContext *s,

[FFmpeg-devel] [PATCH] tiff: Return more meaningful error codes

2015-03-30 Thread Himangi Saraogi
--- libavcodec/tiffenc.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 44cd956..7a872a2 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -164,7 +164,8 @@ static int add_entry1(TiffEncoderContext *s,

Re: [FFmpeg-devel] [PATCH] tiff: Return more meaningful error codes

2015-03-30 Thread Himangi Saraogi
On 30 March 2015 at 22:00, Carl Eugen Hoyos wrote: > Himangi Saraogi gmail.com> writes: > > > case TIFF_LZW: > > return ff_lzw_encode(s->lzws, src, n); > > default: > > -return -1; > > +return AVERROR(EINVAL);

[FFmpeg-devel] [PATCH] tiff: Return more meaningful error codes

2015-03-30 Thread Himangi Saraogi
--- libavcodec/tiffenc.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 44cd956..2cdac0b 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -164,7 +164,8 @@ static int add_entry1(TiffEncoderContext *s

[FFmpeg-devel] [PATCH] avfilter/vf_detelecine: Fix uninitialized array index error

2015-03-31 Thread Himangi Saraogi
--- Fixes the defect CID 1292301. libavfilter/vf_detelecine.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_detelecine.c b/libavfilter/vf_detelecine.c index 218a8c8..8ad7ae3 100644 --- a/libavfilter/vf_detelecine.c +++ b/libavfilter/vf_detele

[FFmpeg-devel] [PATCH] avformat/http: Fix null check on allocated value

2015-03-31 Thread Himangi Saraogi
--- This probably fixes CID 1292299 as well. libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index da3c9be..45533e4 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -495,7 +495,7 @@ static int cookie_string(

[FFmpeg-devel] [PATCH] lavc/smvjpegdec: Avoid null dereference and return meaningful error codes

2015-04-01 Thread Himangi Saraogi
--- This fixes CID 1292296. libavcodec/smvjpegdec.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libavcodec/smvjpegdec.c b/libavcodec/smvjpegdec.c index 5eca9bb..1eacc6c 100644 --- a/libavcodec/smvjpegdec.c +++ b/libavcodec/smvjpegdec.c @@ -94,7 +94,7 @@ static

[FFmpeg-devel] [PATCH] lavc/smvjpegdec: Avoid null dereference and return meaningful error codes

2015-04-01 Thread Himangi Saraogi
--- This fixes CID 1292296. libavcodec/smvjpegdec.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libavcodec/smvjpegdec.c b/libavcodec/smvjpegdec.c index 5eca9bb..f30d240 100644 --- a/libavcodec/smvjpegdec.c +++ b/libavcodec/smvjpegdec.c @@ -94,7 +94,7 @@ static

[FFmpeg-devel] [PATCH] ffmpeg: Avoid null pointer dereferences

2015-04-02 Thread Himangi Saraogi
--- ffmpeg.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 67ce1f3..8bf507a 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3171,17 +3171,22 @@ static int transcode_init(void) const char *in_codec_name = "?"; const char *

[FFmpeg-devel] [PATCH] filtfmts: Avoid null pointer dereferences

2015-04-02 Thread Himangi Saraogi
--- libavfilter/filtfmts.c | 58 -- 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/libavfilter/filtfmts.c b/libavfilter/filtfmts.c index c1025b9..d214c6c 100644 --- a/libavfilter/filtfmts.c +++ b/libavfilter/filtfmts.c @@ -34,32 +34,

[FFmpeg-devel] [PATCH] filtfmts: Avoid null pointer dereferences

2015-04-03 Thread Himangi Saraogi
--- libavfilter/filtfmts.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavfilter/filtfmts.c b/libavfilter/filtfmts.c index c1025b9..3e2a011 100644 --- a/libavfilter/filtfmts.c +++ b/libavfilter/filtfmts.c @@ -34,6 +34,7 @@ static void print_formats(AVFilterContext *filter_ctx) #

[FFmpeg-devel] [PATCH] filtfmts: Avoid null pointer dereference

2015-04-03 Thread Himangi Saraogi
--- libavfilter/filtfmts.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/libavfilter/filtfmts.c b/libavfilter/filtfmts.c index c1025b9..46a2d94 100644 --- a/libavfilter/filtfmts.c +++ b/libavfilter/filtfmts.c @@ -75,6 +75,7 @@ int main(int argc, char **argv)

[FFmpeg-devel] [PATCH] rtsp: Fix null pointer dereference

2015-04-04 Thread Himangi Saraogi
--- This fixes CID 1257827. libavformat/rtsp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 68ef36e..c9871ce 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2259,6 +2259,8 @@ static int sdp_read_header(AVFormatContext *s) /*

[FFmpeg-devel] [PATCH] avformat: Drop const qualifier to avoid compiler warning

2015-04-06 Thread Himangi Saraogi
--- libavformat/format.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/format.c b/libavformat/format.c index fa94b7d..0713849 100644 --- a/libavformat/format.c +++ b/libavformat/format.c @@ -172,7 +172,8 @@ AVInputFormat *av_probe_input_format3(AVProbeData *pd,

[FFmpeg-devel] [PATCH] avformat/rtsp: Fix unchecked return value

2015-04-09 Thread Himangi Saraogi
--- This fixes CID 733718. libavformat/rtsp.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index c9871ce..42dbe96 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -174,11 +174,15 @@ static void rtsp_parse_range_npt(

[FFmpeg-devel] [PATCH] ffmdec: Check return value of ffm_append_recommended_configuration

2015-04-08 Thread Himangi Saraogi
--- libavformat/ffmdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c index 33bbde0..7c0f451 100644 --- a/libavformat/ffmdec.c +++ b/libavformat/ffmdec.c @@ -438,7 +438,8 @@ static int ffm2_read_header(AVFormatContext *s)

[FFmpeg-devel] [PATCH] vda: Cast to not discard constant qualifier and silence compiler warning

2015-04-08 Thread Himangi Saraogi
--- ffmpeg_vda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg_vda.c b/ffmpeg_vda.c index b9f0975..d15648d 100644 --- a/ffmpeg_vda.c +++ b/ffmpeg_vda.c @@ -73,7 +73,7 @@ static int vda_retrieve_data(AVCodecContext *s, AVFrame *frame) } av_image_copy(vda->t

[FFmpeg-devel] [PATCH] avformat/rtsp: Fix dereference after null check

2015-04-12 Thread Himangi Saraogi
--- This fixes CID 732219. libavformat/rtsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 42dbe96..c186b99 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -802,7 +802,7 @@ int ff_rtsp_open_transport_ctx(AVFormat

Re: [FFmpeg-devel] [PATCH] avformat/rtsp: Fix dereference after null check

2015-04-12 Thread Himangi Saraogi
On 13 April 2015 at 01:27, Thomas Volkert wrote: > > Am 12.04.2015 um 21:35 schrieb Himangi Saraogi: > >> --- >> This fixes CID 732219. >> >> libavformat/rtsp.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git