Re: [FFmpeg-devel] [PATCH] rl.h: Allocate temporary VLC tables instead of having them static.

2014-09-01 Thread Reimar Döffinger
On 1 September 2014 12:05:00 CEST, Michael Niedermayer wrote: >On Mon, Sep 01, 2014 at 09:32:56AM +0200, Reimar Döffinger wrote: >> On 01.09.2014, at 02:35, Michael Niedermayer >wrote: >> > On Sun, Aug 31, 2014 at 08:27:17PM +0200, Reimar Döffinger wrote: >> >> >> >> { >> >> int i, q; >> >>

Re: [FFmpeg-devel] [PATCH] rl.h: Allocate temporary VLC tables instead of having them static.

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 09:32:56AM +0200, Reimar Döffinger wrote: > On 01.09.2014, at 02:35, Michael Niedermayer wrote: > > On Sun, Aug 31, 2014 at 08:27:17PM +0200, Reimar Döffinger wrote: > >> > >> { > >> int i, q; > >> +VLC vlc; > > > >> +init_vlc(&vlc, 9, rl->n + 1, &rl->table_vl

Re: [FFmpeg-devel] [PATCH] rl.h: Allocate temporary VLC tables instead of having them static.

2014-09-01 Thread Reimar Döffinger
On 01.09.2014, at 02:35, Michael Niedermayer wrote: > On Sun, Aug 31, 2014 at 08:27:17PM +0200, Reimar Döffinger wrote: >> >> { >> int i, q; >> +VLC vlc; > >> +init_vlc(&vlc, 9, rl->n + 1, &rl->table_vlc[0][1], 4, 2, >> &rl->table_vlc[0][0], 4, 2, 0); > > same issue here > > why d

Re: [FFmpeg-devel] [PATCH] rl.h: Allocate temporary VLC tables instead of having them static.

2014-08-31 Thread Michael Niedermayer
On Sun, Aug 31, 2014 at 08:27:17PM +0200, Reimar Döffinger wrote: > Signed-off-by: Reimar Döffinger > --- > libavcodec/mpeg12.c| 23 --- > libavcodec/mpegvideo.c | 14 ++ > libavcodec/rl.h| 8 ++-- > 3 files changed, 24 insertions(+), 21 deletions(

Re: [FFmpeg-devel] [PATCH] rl.h: Allocate temporary VLC tables instead of having them static.

2014-08-31 Thread Reimar Döffinger
On Sun, Aug 31, 2014 at 08:27:17PM +0200, Reimar Döffinger wrote: > Signed-off-by: Reimar Döffinger This was intended to come out under "rl.h: remove deprecated and now unused vlc member.", as that one needs to be applied first. I can merge them though if desired. I by accident typed -1 when I h

[FFmpeg-devel] [PATCH] rl.h: Allocate temporary VLC tables instead of having them static.

2014-08-31 Thread Reimar Döffinger
Signed-off-by: Reimar Döffinger --- libavcodec/mpeg12.c| 23 --- libavcodec/mpegvideo.c | 14 ++ libavcodec/rl.h| 8 ++-- 3 files changed, 24 insertions(+), 21 deletions(-) diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index cb00baf..769b