Re: [libav-devel] [PATCH] avcodec: h264: Extract decoder methods

2015-07-31 Thread Luca Barbato
On 31/07/15 21:06, David Holm wrote: > Extract two methods from decode_registered_user_data in order to improve > code readability. Also make memory allocation constant unsigned 64-bit > integer so that the size comparison against INT_MAX makes sense. > > Bug-Id: CID1312090 > --- > libavcodec/h2

[libav-devel] [PATCH] avcodec: h264: Extract decoder methods

2015-07-31 Thread David Holm
Extract two methods from decode_registered_user_data in order to improve code readability. Also make memory allocation constant unsigned 64-bit integer so that the size comparison against INT_MAX makes sense. Bug-Id: CID1312090 --- libavcodec/h264_sei.c | 124

Re: [libav-devel] [PATCH 0/20] removal of deprecated features

2015-07-31 Thread wm4
On Thu, 30 Jul 2015 17:05:12 +0200 Andreas Cadhalpun wrote: > Hi, > > On 28.07.2015 15:36, Vittorio Giovara wrote: > > This set contains the removal of all deprecated features marked as > > such until 2012/early 2013. This was announced several times in the > > past months and agreed at several

Re: [libav-devel] [PATCH 0/20] removal of deprecated features

2015-07-31 Thread Vittorio Giovara
On Thu, Jul 30, 2015 at 6:10 PM, Andreas Cadhalpun wrote: > Removing these APIs causes compile failures, which are more severe than > occasional runtime failures. It means people have to use old versions of > the libav* libraries. I disagree as well, it's true that noone likes code failing to com

[libav-devel] [PATCH] png: Be more informative regarding signature errors

2015-07-31 Thread Luca Barbato
--- libavcodec/pngdec.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 4ca919b..006cb90 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -414,9 +414,18 @@ static int decode_frame(AVCodecContext *avct

[libav-devel] [PATCH] drawtext: Drop stray guards

2015-07-31 Thread Luca Barbato
There is a fallback for localtime_r and it is in use already. --- libavfilter/vf_drawtext.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 97d44c6..a4d25c2 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter

Re: [libav-devel] [PATCH] opusdec: properly handle mismatching configurations in multichannel streams

2015-07-31 Thread Luca Barbato
On 31/07/15 09:25, Anton Khirnov wrote: > Quoting Anton Khirnov (2015-07-27 11:17:51) >> The substreams can have different resampling delays, so an additional >> level of buffering is needed to synchronize them. >> >> Bug-Id: 876 >> --- > > Ping. > I guess my answer got chewed, fine for me. I'll

[libav-devel] [PATCH] asfdec: prevent the memory leak while reading metadata

2015-07-31 Thread Alexandra Hájková
--- libavformat/asfdec.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 13133b6..8306d16 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -263,7 +263,7 @@ static int asf_read_metadata(AVF

Re: [libav-devel] [PATCH] opusdec: properly handle mismatching configurations in multichannel streams

2015-07-31 Thread Anton Khirnov
Quoting Anton Khirnov (2015-07-27 11:17:51) > The substreams can have different resampling delays, so an additional > level of buffering is needed to synchronize them. > > Bug-Id: 876 > --- Ping. -- Anton Khirnov ___ libav-devel mailing list libav-dev

Re: [libav-devel] [PATCH] h264: Parse only the x264 info unregisterd sei

2015-07-31 Thread Anton Khirnov
Quoting Luca Barbato (2015-07-29 22:51:05) > And restrict the string to ascii text. > > CC: libav-sta...@libav.org > > Signed-off-by: Luca Barbato > --- > libavcodec/h264_sei.c | 57 > ++- > 1 file changed, 47 insertions(+), 10 deletions(-) > >

Re: [libav-devel] [PATCH] asfdec: free AVDictionaries properly when closing the demuxer

2015-07-31 Thread Anton Khirnov
Quoting Alexandra Hájková (2015-07-30 19:59:25) > --- > libavformat/asfdec.c | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c > index a112741..4e94cd4 100644 > --- a/libavformat/asfdec.c > +++ b/libavformat/asfdec.c > @@

Re: [libav-devel] [PATCH 1/4 v2] blowfish: add av_blowfish_alloc()

2015-07-31 Thread Anton Khirnov
Quoting James Almer (2015-07-28 21:57:46) > Signed-off-by: James Almer > --- > doc/APIchanges | 3 +++ > libavutil/blowfish.c | 15 +++ > libavutil/blowfish.h | 10 ++ > libavutil/version.h | 5 - > 4 files changed, 32 insertions(+), 1 deletion(-) > Thanks for t

Re: [libav-devel] [PATCH] asfdec: remove improper assignement that caused wrong timestemps

2015-07-31 Thread Anton Khirnov
Quoting Alexandra Hájková (2015-07-27 13:37:04) > and remove unneeded variable > --- > annotation: > fixes https://samples.libav.org/asf-wmv/asf-code-53/movn018.asf Pushed. -- Anton Khirnov ___ libav-devel mailing list libav-devel@libav.org https://lis

Re: [libav-devel] [PATCH] asfdec: do not export empty metadata

2015-07-31 Thread Anton Khirnov
Quoting Alexandra Hájková (2015-07-27 19:42:15) > --- > libavformat/asfdec.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > Pushed. -- Anton Khirnov ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/l