1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-11-09 23:48:13 +03:00
Files
ffmpeg/libavcodec
Andreas Cadhalpun 75fc81c831 diracdec: check that block length is valid
In init_planes p->xblen and p->yblen are set to:
            p->xblen = s->plane[0].xblen >> s->chroma_x_shift;
            p->yblen = s->plane[0].yblen >> s->chroma_y_shift;

These are later used as block_w and block_h arguments of
s->vdsp.emulated_edge_mc. If one of them is 0 it triggers an av_assert2
in emulated_edge_mc:
    av_assert2(start_x < end_x && block_w > 0);
    av_assert2(start_y < end_y && block_h > 0);

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-06 18:02:35 +02:00
..
…
…
…
…
…
…
2015-03-10 23:33:57 +01:00
2015-04-18 14:13:59 -03:00
…
…
…
…
…
…
2015-04-20 04:11:23 +02:00
…
…
…
…
…
…
…
2015-02-21 20:38:13 +01:00
…
…
…
2015-04-22 17:45:51 +02:00
…
…
…
…
…
…
…
…
…
…
…
2015-05-04 18:39:51 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-04-29 20:13:59 +02:00
…
…
2015-04-18 14:14:24 -03:00
…
…
2015-04-18 14:14:11 -03:00
…
…
…
…
…
…
…
…
2015-05-06 17:50:09 +02:00
…
…
…
…
…
…
…
…
…
…
…
2015-02-14 19:45:23 +00:00
…
…
2015-03-14 14:05:25 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-02-10 14:20:32 +00:00
…
…
…
…
…
…
…
…
…
…
2015-04-19 23:45:35 +01:00
…
…
…
…
…
…
…
…
…
…
2015-03-02 19:32:23 +01:00
2015-04-28 00:04:58 +02:00
2015-04-28 00:04:58 +02:00
2015-04-28 00:04:58 +02:00
2015-04-28 00:04:58 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-04-24 00:00:20 -07:00
2015-04-24 00:00:12 -07:00
…
…
…
…
…
…
…
…
…
…
…
2015-04-20 14:36:41 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-03-16 13:04:47 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-05-04 18:39:51 -03:00
2015-02-14 12:48:41 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-04-18 18:07:54 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…