[PATCH] avcodec/get_bits: consider bit_size of 0 an error
Signed-off-by: Paul B Mahol <onemda@gmail.com> --- libavcodec/get_bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h index 4ddb088..32715d8 100644 --- a/libavcodec/get_bits.h +++ b/libavcodec/get_bits.h @@ -408,7 +408,7 @@ static inline int init_get_bits(GetBitContext *s, const uint8_t *buffer, int buffer_size; int ret = 0; - if (bit_size >= INT_MAX - 7 || bit_size < 0 || !buffer) { + if (bit_size >= INT_MAX - 7 || bit_size <= 0 || !buffer) { buffer_size = bit_size = 0; buffer = NULL; ret = AVERROR_INVALIDDATA; -- 1.7.11.2
On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote:
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Could you add the reason for this change to the commit message? In theory being able to use 0 might work as an optimization in some cases, so I don't think supporting it is as nonsense as it might seem.
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote:
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Could you add the reason for this change to the commit message? In theory being able to use 0 might work as an optimization in some cases, so I don't think supporting it is as nonsense as it might seem.
What kind of optimization? If return value is never checked and bit_size is negative number next get_bits will happily crash.
On Mon, Oct 28, 2013 at 05:04:38PM +0000, Paul B Mahol wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote:
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Could you add the reason for this change to the commit message? In theory being able to use 0 might work as an optimization in some cases, so I don't think supporting it is as nonsense as it might seem.
What kind of optimization?
Purely theoretical: You have a value A, depending on that following value B is either not encoded, encoded with 2, 5 or 8 bits. If get_bits supports 0 bits then you can just do something like get_bits(... (int){0, 2, 5, 8}[A]); if 0 is not allowed, you have to explicitly skip the get_bits for A == 0.
If return value is never checked and bit_size is negative number next get_bits will happily crash.
But negative number is already checked, your patch is about checking 0?!
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 05:04:38PM +0000, Paul B Mahol wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote:
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Could you add the reason for this change to the commit message? In theory being able to use 0 might work as an optimization in some cases, so I don't think supporting it is as nonsense as it might seem.
What kind of optimization?
Purely theoretical: You have a value A, depending on that following value B is either not encoded, encoded with 2, 5 or 8 bits. If get_bits supports 0 bits then you can just do something like get_bits(... (int){0, 2, 5, 8}[A]); if 0 is not allowed, you have to explicitly skip the get_bits for A == 0.
If return value is never checked and bit_size is negative number next get_bits will happily crash.
But negative number is already checked, your patch is about checking 0?!
Yes, because here is what happens for 0 case: buffer is not set to NULL (for negative case this causes crash) get_bits may return 1 even if bit count is 0, and it will happily return it forever (until whatever buffer points to is changed to 0) so something like while(get_bits1(gb)) { } loops forever.
Hi, On Mon, Oct 28, 2013 at 1:35 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 05:04:38PM +0000, Paul B Mahol wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote:
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Could you add the reason for this change to the commit message? In theory being able to use 0 might work as an optimization in some cases, so I don't think supporting it is as nonsense as it might seem.
What kind of optimization?
Purely theoretical: You have a value A, depending on that following value B is either not encoded, encoded with 2, 5 or 8 bits. If get_bits supports 0 bits then you can just do something like get_bits(... (int){0, 2, 5, 8}[A]); if 0 is not allowed, you have to explicitly skip the get_bits for A == 0.
If return value is never checked and bit_size is negative number next get_bits will happily crash.
But negative number is already checked, your patch is about checking 0?!
Yes, because here is what happens for 0 case:
buffer is not set to NULL (for negative case this causes crash)
get_bits may return 1 even if bit count is 0, and it will happily return it forever (until whatever buffer points to is changed to 0)
so something like
while(get_bits1(gb)) { }
loops forever.
That is a bug in the caller. Ronald
On 10/28/13, Ronald S. Bultje <rsbultje@gmail.com> wrote:
Hi,
On Mon, Oct 28, 2013 at 1:35 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 05:04:38PM +0000, Paul B Mahol wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote:
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Could you add the reason for this change to the commit message? In theory being able to use 0 might work as an optimization in some cases, so I don't think supporting it is as nonsense as it might seem.
What kind of optimization?
Purely theoretical: You have a value A, depending on that following value B is either not encoded, encoded with 2, 5 or 8 bits. If get_bits supports 0 bits then you can just do something like get_bits(... (int){0, 2, 5, 8}[A]); if 0 is not allowed, you have to explicitly skip the get_bits for A == 0.
If return value is never checked and bit_size is negative number next get_bits will happily crash.
But negative number is already checked, your patch is about checking 0?!
Yes, because here is what happens for 0 case:
buffer is not set to NULL (for negative case this causes crash)
get_bits may return 1 even if bit count is 0, and it will happily return it forever (until whatever buffer points to is changed to 0)
so something like
while(get_bits1(gb)) { }
loops forever.
That is a bug in the caller.
Are you saying I should use get_bits_left ?
Ronald _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Hi, On Mon, Oct 28, 2013 at 2:17 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Ronald S. Bultje <rsbultje@gmail.com> wrote:
Hi,
On Mon, Oct 28, 2013 at 1:35 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 05:04:38PM +0000, Paul B Mahol wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol <onemda@gmail.com>
Could you add the reason for this change to the commit message? In theory being able to use 0 might work as an optimization in some cases, so I don't think supporting it is as nonsense as it might seem.
What kind of optimization?
Purely theoretical: You have a value A, depending on that following value B is either not encoded, encoded with 2, 5 or 8 bits. If get_bits supports 0 bits then you can just do something like get_bits(... (int){0, 2, 5, 8}[A]); if 0 is not allowed, you have to explicitly skip the get_bits for A == 0.
If return value is never checked and bit_size is negative number next get_bits will happily crash.
But negative number is already checked, your patch is about checking 0?!
Yes, because here is what happens for 0 case:
buffer is not set to NULL (for negative case this causes crash)
get_bits may return 1 even if bit count is 0, and it will happily return it forever (until whatever buffer points to is changed to 0)
so something like
while(get_bits1(gb)) { }
loops forever.
That is a bug in the caller.
Are you saying I should use get_bits_left ?
In this particular case, no; If you buffer is padded with FF_INPUT_BUFFER_PADDING_SIZE zero bytes, at EOF, get_bits should always return 0. More generally, yes, because I don't see why we wouldn't support inverted VLC schemes (while(!get_bits(gb)) { .. }), and to support that, you need some explicit exit clause (think e.g. golomb codes). Ronald
On 10/28/13, Ronald S. Bultje <rsbultje@gmail.com> wrote:
Hi,
On Mon, Oct 28, 2013 at 2:17 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Ronald S. Bultje <rsbultje@gmail.com> wrote:
Hi,
On Mon, Oct 28, 2013 at 1:35 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 05:04:38PM +0000, Paul B Mahol wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote: > On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol <onemda@gmail.com> > > Could you add the reason for this change to the commit message? > In theory being able to use 0 might work as an optimization in > some cases, so I don't think supporting it is as nonsense as it > might seem.
What kind of optimization?
Purely theoretical: You have a value A, depending on that following value B is either not encoded, encoded with 2, 5 or 8 bits. If get_bits supports 0 bits then you can just do something like get_bits(... (int){0, 2, 5, 8}[A]); if 0 is not allowed, you have to explicitly skip the get_bits for A == 0.
If return value is never checked and bit_size is negative number next get_bits will happily crash.
But negative number is already checked, your patch is about checking 0?!
Yes, because here is what happens for 0 case:
buffer is not set to NULL (for negative case this causes crash)
get_bits may return 1 even if bit count is 0, and it will happily return it forever (until whatever buffer points to is changed to 0)
so something like
while(get_bits1(gb)) { }
loops forever.
That is a bug in the caller.
Are you saying I should use get_bits_left ?
In this particular case, no; If you buffer is padded with FF_INPUT_BUFFER_PADDING_SIZE zero bytes, at EOF, get_bits should always return 0.
For sample from bug #3089 it does not return always 0, as bit size is set to 0, thus checked bit reader never reach padded bytes.
More generally, yes, because I don't see why we wouldn't support inverted VLC schemes (while(!get_bits(gb)) { .. }), and to support that, you need some explicit exit clause (think e.g. golomb codes).
Ronald _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Hi, On Mon, Oct 28, 2013 at 2:34 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Ronald S. Bultje <rsbultje@gmail.com> wrote:
Hi,
On Mon, Oct 28, 2013 at 2:17 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Ronald S. Bultje <rsbultje@gmail.com> wrote:
Hi,
On Mon, Oct 28, 2013 at 1:35 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 05:04:38PM +0000, Paul B Mahol wrote: > On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote: > > On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote: > >> Signed-off-by: Paul B Mahol <onemda@gmail.com> > > > > Could you add the reason for this change to the commit message? > > In theory being able to use 0 might work as an optimization in > > some cases, so I don't think supporting it is as nonsense as it > > might seem. > > What kind of optimization?
Purely theoretical: You have a value A, depending on that following value B is either not encoded, encoded with 2, 5 or 8 bits. If get_bits supports 0 bits then you can just do something like get_bits(... (int){0, 2, 5, 8}[A]); if 0 is not allowed, you have to explicitly skip the get_bits for A == 0.
> If return value is never checked and bit_size is negative number > next > get_bits will happily crash.
But negative number is already checked, your patch is about checking 0?!
Yes, because here is what happens for 0 case:
buffer is not set to NULL (for negative case this causes crash)
get_bits may return 1 even if bit count is 0, and it will happily return it forever (until whatever buffer points to is changed to 0)
so something like
while(get_bits1(gb)) { }
loops forever.
That is a bug in the caller.
Are you saying I should use get_bits_left ?
In this particular case, no; If you buffer is padded with FF_INPUT_BUFFER_PADDING_SIZE zero bytes, at EOF, get_bits should always return 0.
For sample from bug #3089 it does not return always 0, as bit size is set to 0, thus checked bit reader never reach padded bytes.
That sounds fixable. Ronald
On 10/28/13, Ronald S. Bultje <rsbultje@gmail.com> wrote:
Hi,
On Mon, Oct 28, 2013 at 2:34 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Ronald S. Bultje <rsbultje@gmail.com> wrote:
Hi,
On Mon, Oct 28, 2013 at 2:17 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Ronald S. Bultje <rsbultje@gmail.com> wrote:
Hi,
On Mon, Oct 28, 2013 at 1:35 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote: > On Mon, Oct 28, 2013 at 05:04:38PM +0000, Paul B Mahol wrote: >> On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote: >> > On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote: >> >> Signed-off-by: Paul B Mahol <onemda@gmail.com> >> > >> > Could you add the reason for this change to the commit >> > message? >> > In theory being able to use 0 might work as an optimization in >> > some cases, so I don't think supporting it is as nonsense as >> > it >> > might seem. >> >> What kind of optimization? > > Purely theoretical: You have a value A, depending on that > following > value B is either not encoded, encoded with 2, 5 or 8 bits. > If get_bits supports 0 bits then you can just do something like > get_bits(... (int){0, 2, 5, 8}[A]); > if 0 is not allowed, you have to explicitly skip the get_bits for > A == 0. > >> If return value is never checked and bit_size is negative number >> next >> get_bits will happily crash. > > But negative number is already checked, your patch is about checking > 0?!
Yes, because here is what happens for 0 case:
buffer is not set to NULL (for negative case this causes crash)
get_bits may return 1 even if bit count is 0, and it will happily return it forever (until whatever buffer points to is changed to 0)
so something like
while(get_bits1(gb)) { }
loops forever.
That is a bug in the caller.
Are you saying I should use get_bits_left ?
In this particular case, no; If you buffer is padded with FF_INPUT_BUFFER_PADDING_SIZE zero bytes, at EOF, get_bits should always return 0.
For sample from bug #3089 it does not return always 0, as bit size is set to 0, thus checked bit reader never reach padded bytes.
That sounds fixable.
Certainly, this and another patch fixes it.
Ronald _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Hi, On Mon, Oct 28, 2013 at 3:04 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Ronald S. Bultje <rsbultje@gmail.com> wrote:
Hi,
On Mon, Oct 28, 2013 at 2:34 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Ronald S. Bultje <rsbultje@gmail.com> wrote:
Hi,
On Mon, Oct 28, 2013 at 2:17 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 10/28/13, Ronald S. Bultje <rsbultje@gmail.com> wrote:
Hi,
On Mon, Oct 28, 2013 at 1:35 PM, Paul B Mahol <onemda@gmail.com> wrote:
> On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote: > > On Mon, Oct 28, 2013 at 05:04:38PM +0000, Paul B Mahol wrote: > >> On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote: > >> > On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote: > >> >> Signed-off-by: Paul B Mahol <onemda@gmail.com> > >> > > >> > Could you add the reason for this change to the commit > >> > message? > >> > In theory being able to use 0 might work as an optimization in > >> > some cases, so I don't think supporting it is as nonsense as > >> > it > >> > might seem. > >> > >> What kind of optimization? > > > > Purely theoretical: You have a value A, depending on that > > following > > value B is either not encoded, encoded with 2, 5 or 8 bits. > > If get_bits supports 0 bits then you can just do something like > > get_bits(... (int){0, 2, 5, 8}[A]); > > if 0 is not allowed, you have to explicitly skip the get_bits for > > A == 0. > > > >> If return value is never checked and bit_size is negative number > >> next > >> get_bits will happily crash. > > > > But negative number is already checked, your patch is about checking > > 0?! > > Yes, because here is what happens for 0 case: > > buffer is not set to NULL (for negative case this causes crash) > > get_bits may return 1 even if bit count is 0, and it will happily > return it forever (until whatever buffer points to is changed to > 0) > > so something like > > while(get_bits1(gb)) { > } > > loops forever. >
That is a bug in the caller.
Are you saying I should use get_bits_left ?
In this particular case, no; If you buffer is padded with FF_INPUT_BUFFER_PADDING_SIZE zero bytes, at EOF, get_bits should always return 0.
For sample from bug #3089 it does not return always 0, as bit size is set to 0, thus checked bit reader never reach padded bytes.
That sounds fixable.
Certainly, this and another patch fixes it.
I think the patch is fine. In terms of caller, I'm still not sure it's a good idea (what if for some obscure reason we decide to return 1 instead of 0 on EOF?), but I guess that's sort of academic so maybe not worth worrying about. Ronald
On 28.10.2013, at 17:26, Reimar Döffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 05:04:38PM +0000, Paul B Mahol wrote:
On 10/28/13, Reimar Doeffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote:
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Could you add the reason for this change to the commit message? In theory being able to use 0 might work as an optimization in some cases, so I don't think supporting it is as nonsense as it might seem.
What kind of optimization?
Purely theoretical: You have a value A, depending on that following value B is either not encoded, encoded with 2, 5 or 8 bits. If get_bits supports 0 bits then you can just do something like get_bits(... (int){0, 2, 5, 8}[A]); if 0 is not allowed, you have to explicitly skip the get_bits for A == 0.
Forget this, it makes no sense and I completely misread your patch. I at least withdraw my questions/objections.
On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote:
Signed-off-by: Paul B Mahol <onemda@gmail.com> --- libavcodec/get_bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
this patch breaks fate --- ./tests/ref/vsynth/vsynth1-amv 2013-10-27 10:50:19.684710120 +0100 +++ tests/data/fate/vsynth1-amv 2013-10-28 20:15:15.559244425 +0100 @@ -1,4 +1,2 @@ 34c4d4033d31c7401d32fee9d6ce0de2 *tests/data/fate/vsynth1-amv.avi 1365496 tests/data/fate/vsynth1-amv.avi -e38681b9527b6d2531942f8a176a0265 *tests/data/fate/vsynth1-amv.out.rawvideo -stddev: 10.07 PSNR: 28.06 MAXDIFF: 98 bytes: 7603200/ 7603200 Test vsynth1-amv failed. Look at tests/data/fate/vsynth1-amv.err for details. [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Opposition brings concord. Out of discord comes the fairest harmony. -- Heraclitus
On 10/28/13, Michael Niedermayer <michaelni@gmx.at> wrote:
On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote:
Signed-off-by: Paul B Mahol <onemda@gmail.com> --- libavcodec/get_bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
this patch breaks fate
--- ./tests/ref/vsynth/vsynth1-amv 2013-10-27 10:50:19.684710120 +0100 +++ tests/data/fate/vsynth1-amv 2013-10-28 20:15:15.559244425 +0100 @@ -1,4 +1,2 @@ 34c4d4033d31c7401d32fee9d6ce0de2 *tests/data/fate/vsynth1-amv.avi 1365496 tests/data/fate/vsynth1-amv.avi -e38681b9527b6d2531942f8a176a0265 *tests/data/fate/vsynth1-amv.out.rawvideo -stddev: 10.07 PSNR: 28.06 MAXDIFF: 98 bytes: 7603200/ 7603200 Test vsynth1-amv failed. Look at tests/data/fate/vsynth1-amv.err for details.
You need another patch that fixes crash for bit_size < 0, applied before this one. Yes I posted them in wrong order.
[...]
-- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony. -- Heraclitus
On Mon, Oct 28, 2013 at 07:43:10PM +0000, Paul B Mahol wrote:
On 10/28/13, Michael Niedermayer <michaelni@gmx.at> wrote:
On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote:
Signed-off-by: Paul B Mahol <onemda@gmail.com> --- libavcodec/get_bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
this patch breaks fate
--- ./tests/ref/vsynth/vsynth1-amv 2013-10-27 10:50:19.684710120 +0100 +++ tests/data/fate/vsynth1-amv 2013-10-28 20:15:15.559244425 +0100 @@ -1,4 +1,2 @@ 34c4d4033d31c7401d32fee9d6ce0de2 *tests/data/fate/vsynth1-amv.avi 1365496 tests/data/fate/vsynth1-amv.avi -e38681b9527b6d2531942f8a176a0265 *tests/data/fate/vsynth1-amv.out.rawvideo -stddev: 10.07 PSNR: 28.06 MAXDIFF: 98 bytes: 7603200/ 7603200 Test vsynth1-amv failed. Look at tests/data/fate/vsynth1-amv.err for details.
You need another patch that fixes crash for bit_size < 0, applied before this one.
Yes I posted them in wrong order.
with the 2 patches below it still fails: --- ./tests/ref/vsynth/vsynth1-amv 2013-10-27 10:50:19.684710120 +0100 +++ tests/data/fate/vsynth1-amv 2013-10-28 20:50:09.191288532 +0100 @@ -1,4 +1,2 @@ 34c4d4033d31c7401d32fee9d6ce0de2 *tests/data/fate/vsynth1-amv.avi 1365496 tests/data/fate/vsynth1-amv.avi -e38681b9527b6d2531942f8a176a0265 *tests/data/fate/vsynth1-amv.out.rawvideo -stddev: 10.07 PSNR: 28.06 MAXDIFF: 98 bytes: 7603200/ 7603200 TEST vsynth1-ffv1.0 Test vsynth1-amv failed. Look at tests/data/fate/vsynth1-amv.err for details. commit c54282cf49cbee549f6e497a8c7bc9f6b19ebbe8 Author: Paul B Mahol <onemda@gmail.com> Date: Mon Oct 28 18:20:05 2013 +0000 avcodec/get_bits: fix crash with get_bits1() Signed-off-by: Paul B Mahol <onemda@gmail.com> commit dddbd518b3bc4c4748f8d9ecdbb3295b8aa05312 Author: Paul B Mahol <onemda@gmail.com> Date: Mon Oct 28 16:52:27 2013 +0000 avcodec/get_bits: consider bit_size of 0 an error Signed-off-by: Paul B Mahol <onemda@gmail.com> [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Observe your enemies, for they first find out your faults. -- Antisthenes
participants (4)
-
Michael Niedermayer -
Paul B Mahol -
Reimar Döffinger -
Ronald S. Bultje