On 5 January 2012 04:48, Ronald S. Bultje wrote:
> Also document the function somewhat.
> ---
> libswscale/swscale.c | 18 +-
> 1 files changed, 13 insertions(+), 5 deletions(-)
>
> diff --git a/libswscale/swscale.c b/libswscale/swscale.c
> index 11bb7d6..980fc4a 100644
> --- a/
4xm decoder while decoding i2 frames can overread the buffer if proper checks
are not made.
Note: The fate ref file is also updated with correct framecrc's.
---
libavcodec/4xm.c | 14 +++-
tests/ref/fate/4xm-2 | 189 --
2 files changed, 26 in
Hi,
On Wed, Jan 4, 2012 at 9:17 PM, Ronald S. Bultje wrote:
> On Wed, Jan 4, 2012 at 11:58 AM, Aneesh Dogra wrote:
>> 4xm decoder while decoding i2 frames can overread the buffer if proper checks
>> are not made.
>> ---
>> libavcodec/4xm.c | 14 +++---
>> 1 files changed, 11 insertion
On Thu, Jan 5, 2012 at 12:28 AM, Ronald S. Bultje wrote:
> This reverts commit 295a7c0238e84b0ffa8f21ed938d45f51f54a4cd. The
> patch breaks decoding of regular files (e.g. fate-4xm-2).
> ---
> libavcodec/4xm.c | 14 +++---
> 1 files changed, 3 insertions(+), 11 deletions(-)
>
Ok if it
This reverts commit 295a7c0238e84b0ffa8f21ed938d45f51f54a4cd. The
patch breaks decoding of regular files (e.g. fate-4xm-2).
---
libavcodec/4xm.c | 14 +++---
1 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index d16c232..cfb8279 100644
Hi,
On Wed, Jan 4, 2012 at 11:58 AM, Aneesh Dogra wrote:
> 4xm decoder while decoding i2 frames can overread the buffer if proper checks
> are not made.
> ---
> libavcodec/4xm.c | 14 +++---
> 1 files changed, 11 insertions(+), 3 deletions(-)
>
> diff --git a/libavcodec/4xm.c b/libavco
Hi,
On Wed, Jan 4, 2012 at 10:40 AM, Aneesh Dogra wrote:
> frame_size is the number of bytes left in the packet, so if we are passing
> buf-4 we can safely read frame_size+4 bytes.
> ---
> libavcodec/4xm.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
OK, queued.
Ronald
___
Hi,
On Wed, Jan 4, 2012 at 11:12 AM, Aneesh Dogra wrote:
> The current code doesn't works unless width is an exact multiple of 16
> ---
> libavcodec/4xm.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
> index ed42d75..cfb8279 1
Also document the function somewhat.
---
libswscale/swscale.c | 18 +-
1 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 11bb7d6..980fc4a 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -884,9 +884,17
On 01/04/2012 08:45 PM, Alex Converse wrote:
> ---
> libavformat/mov.c | 22 +++---
> libavformat/mov_chan.c | 16 ++--
> libavformat/mov_chan.h |8
> 3 files changed, 37 insertions(+), 9 deletions(-)
patch looks good.
thanks,
Justin
__
From: Michael Niedermayer
Check explicitly if enough bits are left to prevent an infinite loop
caused by all setted bits after the bitstream buffer.
---
libavcodec/mjpegdec.c | 24
1 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/libavcodec/mjpegdec.c b/
---
libavformat/mov.c | 22 +++---
libavformat/mov_chan.c | 16 ++--
libavformat/mov_chan.h |8
3 files changed, 37 insertions(+), 9 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index d3674d9..63089b9 100644
--- a/libavformat/mo
Hi,
On Wed, Jan 4, 2012 at 3:19 PM, Oana Andreea Stratulat
wrote:
> Checks if pitch_lag = 0. Return invalid data if pitch_lag = 0.
> If pitch_lag = 0 it causes a hang because
> x += in->pitch_lag;
> } while (x < size && repeats);
LGTM. There was some earlier discussion on this bug where this fix
Checks if pitch_lag = 0. Return invalid data if pitch_lag = 0. If pitch_lag = 0 it causes a hang because x += in->pitch_lag; } while (x < size && repeats);
0001-Patch-for-hang-in-amrnb-decoder.-Fixes-bug-151.patch
Description: Binary data
___
libav-deve
Hi,
2012/1/4 Christophe Gisquet :
> You mean, like in check_modulo_three_table.diff? (only relevant change
> present)
After some discussion, here is an updated patch modifying the lookup
table for modulo 3 results, so as to simplify the code verifying the
DC-only condition.
0001-rv34-DC-only-i
On 01/04/2012 05:29 PM, Ronald S. Bultje wrote:
> Hi,
>
> On Wed, Jan 4, 2012 at 2:28 PM, Oana Andreea Stratulat
> wrote:
>> Fixes bug #144. If corrupted files have audio_subsegments = 0 avconv will
>> report invalid data.
>
> LGTM, if nobody is against it.
There was already a better patch f
Hi,
On Wed, Jan 4, 2012 at 2:28 PM, Oana Andreea Stratulat
wrote:
> Fixes bug #144. If corrupted files have audio_subsegments = 0 avconv will
> report invalid data.
LGTM, if nobody is against it.
Ronald
___
libav-devel mailing list
libav-devel@libav.
Fixes bug #144. If corrupted files have audio_subsegments = 0 avconv will
report invalid data.
0001-Patch-for-FPE-in-mtv.c.-Fixes-bug-144.patch
Description: Binary data
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman
On 04/01/12 21:23, Anton Khirnov wrote:
res = AVERROR(EINVAL);
@@ -816,7 +820,8 @@ static const AVOption options[] = {
{ "standard", "TV standard, used only by analog frame grabber",
OFFSET(standard), AV_OPT_TYPE_STRING, {.str = NULL }, 0, 0, DEC },
On Thu, Jan 05, 2012 at 12:42:26AM +0530, Aneesh Dogra wrote:
> The current code doesn't works unless width is an exact multiple of 16
worK, end in a period
Diego
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinf
The implicit network initialization is set to be removed in the
future, but is kept for compatibility. By not doing the implicit
initialization for non-network protocols, we avoid the warning
about avformat_network_init() not being called for these, where
it really doesn't make much sense.
---
lib
This definition is in two files, since the definitions will move
to the private header at the next bump.
---
libavformat/avio.h |1 +
libavformat/gopher.c|1 +
libavformat/http.c |3 +++
libavformat/librtmp.c |5 +
libavformat/mmsh.c |1 +
libavformat/m
On Wed, 4 Jan 2012 15:07:34 +0100, Luca Barbato wrote:
> Let pass the codec name to -pixel_format and have the option renamed
> to -input_format.
> ---
> libavdevice/v4l2.c | 11 ---
> 1 files changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/libavdevice/v4l2.c b/libavdevice/
On 04/01/12 20:31, Janne Grunau wrote:
V4L2_FMT_FLAG_EMULATED was added in 2.6.32.
---
libavdevice/v4l2.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 2895a01..71e5b11 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v
4xm decoder while decoding i2 frames can overread the buffer if proper checks
are not made.
---
libavcodec/4xm.c | 14 +++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index cfb8279..1862430 100644
--- a/libavcodec/4xm.c
+++ b/lib
V4L2_FMT_FLAG_EMULATED was added in 2.6.32.
---
libavdevice/v4l2.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 2895a01..71e5b11 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -316,10 +316,12 @@ static void lis
The current code doesn't works unless width is an exact multiple of 16
---
libavcodec/4xm.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index ed42d75..cfb8279 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -640,7 +640,7 @@
On 04/01/12 20:04, Ronald S. Bultje wrote:
Hi,
On Wed, Jan 4, 2012 at 6:07 AM, Luca Barbato wrote:
if (s->pixel_format) {
+AVCodec *codec = avcodec_find_decoder_by_name(s->pixel_format);
+
+if (codec)
+s1->video_codec_id = codec->id;
Maybe we need a new funct
Hi,
2012/1/4 Kostya Shishkov :
> looks good, I'll wait for somebody to pass judgement on x86 part.
By the way, this is not a fundamental commit, as it's going to be
reworked substantially afterwards to allow idct and reconstruction in
a single pass.
Christophe
___
Hi,
On Wed, Jan 4, 2012 at 6:07 AM, Luca Barbato wrote:
> Let pass the codec name to -pixel_format and have the option renamed
> to -input_format.
> ---
> libavdevice/v4l2.c | 11 ---
> 1 files changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/libavdevice/v4l2.c b/libavdevice/v
Hi,
On Wed, Jan 4, 2012 at 7:52 AM, Martin Storsjö wrote:
> On Wed, 4 Jan 2012, Ronald S. Bultje wrote:
>> On Wed, Jan 4, 2012 at 5:21 AM, Martin Storsjö wrote:
>>> From: Jean First
>>> This one won't ever be used uninitialized in practice, but
>>> the compiler doesn't realize it.
>>>
>>> Signe
frame_size is the number of bytes left in the packet, so if we are passing
buf-4 we can safely read frame_size+4 bytes.
---
libavcodec/4xm.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 83f0a12..ed42d75 100644
--- a/libavcodec/
On Wed, 4 Jan 2012, Ronald S. Bultje wrote:
On Wed, Jan 4, 2012 at 5:21 AM, Martin Storsjö wrote:
From: Jean First
This one won't ever be used uninitialized in practice, but
the compiler doesn't realize it.
Signed-off-by: Martin Storsjö
---
libavformat/rtsp.c | 2 +-
1 files changed, 1
Hi,
On Wed, Jan 4, 2012 at 5:21 AM, Martin Storsjö wrote:
> From: Jean First
>
> This one won't ever be used uninitialized in practice, but
> the compiler doesn't realize it.
>
> Signed-off-by: Martin Storsjö
> ---
> libavformat/rtsp.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions
Hi,
On Wed, Jan 4, 2012 at 6:14 AM, Diego Biurrun wrote:
> ---
> libswscale/ppc/yuv2rgb_altivec.h | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
OK.
Ronald
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/
---
libswscale/colorspace-test.c | 78 ++
libswscale/swscale-test.c| 186 -
2 files changed, 135 insertions(+), 129 deletions(-)
diff --git a/libswscale/colorspace-test.c b/libswscale/colorspace-test.c
index ac3bb71..dfa3d33 100644
--
---
libswscale/ppc/yuv2rgb_altivec.h | 19 ++-
libswscale/rgb2rgb.h | 27 ++--
libswscale/swscale.h |5 +-
libswscale/swscale_internal.h| 253 --
4 files changed, 158 insertions(+), 146 deletions(-)
diff --git a/libswscale/p
---
libswscale/ppc/yuv2rgb_altivec.h |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libswscale/ppc/yuv2rgb_altivec.h b/libswscale/ppc/yuv2rgb_altivec.h
index cf0d044..626d2b0 100644
--- a/libswscale/ppc/yuv2rgb_altivec.h
+++ b/libswscale/ppc/yuv2rgb_altivec.h
@@ -21,
On 04/01/12 15:07, Luca Barbato wrote:
Let pass the codec name to -pixel_format and have the option renamed
to -input_format.
---
libavdevice/v4l2.c | 11 ---
1 files changed, 8 insertions(+), 3 deletions(-)
I'm comparing the result between
avplay -noframedrop -analyzeduration 0 a
Let pass the codec name to -pixel_format and have the option renamed
to -input_format.
---
libavdevice/v4l2.c | 11 ---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 2895a01..a5bf058 100644
--- a/libavdevice/v4l2.c
+++ b/liba
On Wed, Jan 04, 2012 at 03:21:55PM +0200, Martin Storsjö wrote:
> From: Jean First
>
> These can't be used uninitialized in practice, but the
> compiler doesn't realize it.
>
> Signed-off-by: Martin Storsjö
> ---
> libavformat/flvdec.c |2 +-
> 1 files changed, 1 insertions(+), 1 deletions
On Wed, Jan 04, 2012 at 03:21:54PM +0200, Martin Storsjö wrote:
> From: Jean First
>
> This one won't ever be used uninitialized in practice, but
> the compiler doesn't realize it.
>
> Signed-off-by: Martin Storsjö
> ---
> libavformat/rtsp.c |2 +-
> 1 files changed, 1 insertions(+), 1 del
From: Jean First
These can't be used uninitialized in practice, but the
compiler doesn't realize it.
Signed-off-by: Martin Storsjö
---
libavformat/flvdec.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 4f1c805..2f770
From: Jean First
This one won't ever be used uninitialized in practice, but
the compiler doesn't realize it.
Signed-off-by: Martin Storsjö
---
libavformat/rtsp.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index fcf168d..285
On 2012-01-04 13:46:49 +0100, Diego Biurrun wrote:
> This fixes compilation failures related to START_TIMER/STOP_TIMER macros and
> -Werror=declaration-after-statement. START_TIMER declares variables and thus
> may not be placed after statements outside of a new block.
> ---
> libavcodec/indeo5.c
This fixes compilation failures related to START_TIMER/STOP_TIMER macros and
-Werror=declaration-after-statement. START_TIMER declares variables and thus
may not be placed after statements outside of a new block.
---
libavcodec/indeo5.c|4 ++--
libpostproc/postprocess_template
This fixes compilation failures related to START_TIMER/STOP_TIMER macros and
-Werror=declaration-after-statement. START_TIMER declares variables and thus
may not be placed after statements outside of a new block.
---
libavcodec/indeo5.c|4 ++--
libpostproc/postprocess_template
On Wed, Jan 04, 2012 at 09:59:30AM +0100, Kostya Shishkov wrote:
> On Wed, Jan 04, 2012 at 09:41:01AM +0100, Christophe Gisquet wrote:
> > 2012/1/4 Kostya Shishkov :
> > > The patch LGTM, the message needs to be reformatted though (I'll do it
> > > after I
> > > test the patch and before pushing i
On 2012-01-04 09:29:45 +0100, Luca Barbato wrote:
> On 31/12/11 18:50, Janne Grunau wrote:
> >On 2011-12-29 17:29:17 +0100, Luca Barbato wrote:
> >>
> >>+if (fmt.fmt.pix.field == V4L2_FIELD_INTERLACED) {
> >>+av_log(ctx, AV_LOG_DEBUG, "The V4L2 driver using the interlaced
> >>mode");
>
On Wed, Jan 04, 2012 at 01:13:22AM -0700, John Brooks wrote:
> On Wed, Jan 4, 2012 at 1:04 AM, Kostya Shishkov
> wrote:
> > On Wed, Jan 04, 2012 at 12:56:09AM -0700, John Brooks wrote:
> >> On Wed, Jan 4, 2012 at 12:44 AM, Kostya Shishkov
> >> wrote:
> >> > On Wed, Jan 04, 2012 at 12:23:01AM -070
On Tue, 3 Jan 2012, Ronald S. Bultje wrote:
Hi,
On Tue, Jan 3, 2012 at 1:58 PM, Martin Storsjö wrote:
Since we don't use avio_set_interrupt_cb for interrupt callbacks,
we don't need to call it to reset the interrupt cb either.
This avoids a warning about use of deprecated functions.
---
avp
On Wed, Jan 04, 2012 at 09:41:01AM +0100, Christophe Gisquet wrote:
> Hi,
>
> 2012/1/4 Kostya Shishkov :
> > The patch LGTM, the message needs to be reformatted though (I'll do it
> > after I
> > test the patch and before pushing it).
>
> So as to improve my formatting, what should I have done?
Hi,
2012/1/4 Kostya Shishkov :
> The patch LGTM, the message needs to be reformatted though (I'll do it after I
> test the patch and before pushing it).
So as to improve my formatting, what should I have done? Linebreak on
a 72/78/80 column ?
___
libav-
Hi,
2012/1/4 Jason Garrett-Glaser :
> + if(!code || code==27 || code==54 || code==81){
>
> Can't you use modulo_three_table for this?
You mean, like in check_modulo_three_table.diff? (only relevant change present)
I'm contemplating cutting some work in that path by extracting from
the modulo_
On 31/12/11 18:50, Janne Grunau wrote:
On 2011-12-29 17:29:17 +0100, Luca Barbato wrote:
Video4linux2 supports both interlaced and non-interlaced mode, do not
ask for interlaced if not necessary.
---
libavdevice/v4l2.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff
On 04/01/12 07:57, Anton Khirnov wrote:
---
avconv.c| 30 +++---
doc/avconv.texi |8
2 files changed, 27 insertions(+), 11 deletions(-)
Ok.
--
Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero
On 04/01/12 07:54, Jason Garrett-Glaser wrote:
We received Tianhua Ltd's application that they
are registering the name
Looks like a trademark scam.
lu
--
Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero
___
libav-devel mailing list
libav-
On Wed, Jan 4, 2012 at 1:04 AM, Kostya Shishkov
wrote:
> On Wed, Jan 04, 2012 at 12:56:09AM -0700, John Brooks wrote:
>> On Wed, Jan 4, 2012 at 12:44 AM, Kostya Shishkov
>> wrote:
>> > On Wed, Jan 04, 2012 at 12:23:01AM -0700, John Brooks wrote:
>> >> @@ -799,8 +800,9 @@ static void vc1_mc_4mv_lu
On Wed, Jan 04, 2012 at 12:56:09AM -0700, John Brooks wrote:
> On Wed, Jan 4, 2012 at 12:44 AM, Kostya Shishkov
> wrote:
> > On Wed, Jan 04, 2012 at 12:23:01AM -0700, John Brooks wrote:
> >> @@ -799,8 +800,9 @@ static void vc1_mc_4mv_luma(VC1Context *v, int n, int
> >> dir)
> >> if (fieldmv
59 matches
Mail list logo