Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Lukasz Marek
On 8 April 2015 at 18:07, Michael Niedermayer wrote: > On Wed, Apr 08, 2015 at 06:02:16PM +0200, wm4 wrote: > > On Wed, 8 Apr 2015 17:52:18 +0200 > > Michael Niedermayer wrote: > > > > > On Wed, Apr 08, 2015 at 05:40:17PM +0200, Gilles Chanteperdrix wrote: > > > > On Wed, Apr 08, 2015 at 05:29:1

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 06:02:16PM +0200, wm4 wrote: > On Wed, 8 Apr 2015 17:52:18 +0200 > Michael Niedermayer wrote: > > > On Wed, Apr 08, 2015 at 05:40:17PM +0200, Gilles Chanteperdrix wrote: > > > On Wed, Apr 08, 2015 at 05:29:13PM +0200, wm4 wrote: > > > > On Wed, 8 Apr 2015 17:22:58 +0200 >

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread wm4
On Wed, 8 Apr 2015 17:52:18 +0200 Michael Niedermayer wrote: > On Wed, Apr 08, 2015 at 05:40:17PM +0200, Gilles Chanteperdrix wrote: > > On Wed, Apr 08, 2015 at 05:29:13PM +0200, wm4 wrote: > > > On Wed, 8 Apr 2015 17:22:58 +0200 > > > Gilles Chanteperdrix wrote: > > > > > > > On Wed, Apr 08, 2

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 05:29:40PM +0200, Gilles Chanteperdrix wrote: > On Wed, Apr 08, 2015 at 04:26:20PM +0200, Michael Niedermayer wrote: > > On Wed, Apr 08, 2015 at 04:01:38PM +0200, Gilles Chanteperdrix wrote: > > > On Wed, Apr 08, 2015 at 03:51:36PM +0200, Lukasz Marek wrote: > > > > On 8 Apr

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 05:40:17PM +0200, Gilles Chanteperdrix wrote: > On Wed, Apr 08, 2015 at 05:29:13PM +0200, wm4 wrote: > > On Wed, 8 Apr 2015 17:22:58 +0200 > > Gilles Chanteperdrix wrote: > > > > > On Wed, Apr 08, 2015 at 04:13:58PM +0200, wm4 wrote: > > > > On Wed, 8 Apr 2015 15:37:03 +02

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread wm4
On Wed, 8 Apr 2015 17:40:17 +0200 Gilles Chanteperdrix wrote: > On Wed, Apr 08, 2015 at 05:29:13PM +0200, wm4 wrote: > > On Wed, 8 Apr 2015 17:22:58 +0200 > > Gilles Chanteperdrix wrote: > > > > > On Wed, Apr 08, 2015 at 04:13:58PM +0200, wm4 wrote: > > > > On Wed, 8 Apr 2015 15:37:03 +0200 > >

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 05:29:13PM +0200, wm4 wrote: > On Wed, 8 Apr 2015 17:22:58 +0200 > Gilles Chanteperdrix wrote: > > > On Wed, Apr 08, 2015 at 04:13:58PM +0200, wm4 wrote: > > > On Wed, 8 Apr 2015 15:37:03 +0200 > > > Gilles Chanteperdrix wrote: > > > > > > > On Wed, Apr 08, 2015 at 02:40

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 04:26:20PM +0200, Michael Niedermayer wrote: > On Wed, Apr 08, 2015 at 04:01:38PM +0200, Gilles Chanteperdrix wrote: > > On Wed, Apr 08, 2015 at 03:51:36PM +0200, Lukasz Marek wrote: > > > On 8 April 2015 at 15:37, Gilles Chanteperdrix < > > > gilles.chanteperd...@xenomai.or

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread wm4
On Wed, 8 Apr 2015 17:22:58 +0200 Gilles Chanteperdrix wrote: > On Wed, Apr 08, 2015 at 04:13:58PM +0200, wm4 wrote: > > On Wed, 8 Apr 2015 15:37:03 +0200 > > Gilles Chanteperdrix wrote: > > > > > On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: > > > > On Wed, Apr 08, 2015

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 04:13:58PM +0200, wm4 wrote: > On Wed, 8 Apr 2015 15:37:03 +0200 > Gilles Chanteperdrix wrote: > > > On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: > > > On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote: > > > > Hi, > > > > > > >

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread wm4
On Wed, 8 Apr 2015 16:18:29 +0200 Michael Niedermayer wrote: > On Wed, Apr 08, 2015 at 03:37:03PM +0200, Gilles Chanteperdrix wrote: > > On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: > > > On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote: > > > > Hi, >

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 04:01:38PM +0200, Gilles Chanteperdrix wrote: > On Wed, Apr 08, 2015 at 03:51:36PM +0200, Lukasz Marek wrote: > > On 8 April 2015 at 15:37, Gilles Chanteperdrix < > > gilles.chanteperd...@xenomai.org> wrote: > > > > > On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Nieder

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 03:37:03PM +0200, Gilles Chanteperdrix wrote: > On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: > > On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote: > > > Hi, > > > > > > I just triend libquvi, and get a segmentation fault in the >

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread wm4
On Wed, 8 Apr 2015 15:37:03 +0200 Gilles Chanteperdrix wrote: > On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: > > On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote: > > > Hi, > > > > > > I just triend libquvi, and get a segmentation fault in the > > > l

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 03:51:36PM +0200, Lukasz Marek wrote: > On 8 April 2015 at 15:37, Gilles Chanteperdrix < > gilles.chanteperd...@xenomai.org> wrote: > > > On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: > > > On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdri

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Lukasz Marek
On 8 April 2015 at 15:37, Gilles Chanteperdrix < gilles.chanteperd...@xenomai.org> wrote: > On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: > > On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote: > > > Hi, > > > > > > I just triend libquvi, and get a segmenta

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: > On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote: > > Hi, > > > > I just triend libquvi, and get a segmentation fault in the > > libquvi_read_header function, because ff_copy_whitelists is called > > before

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote: > Hi, > > I just triend libquvi, and get a segmentation fault in the > libquvi_read_header function, because ff_copy_whitelists is called > before qc->fmtctx is allocated by avformat_open_input. I added a > call to avformat_all

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 11:02:47AM +0200, wm4 wrote: > On Wed, 8 Apr 2015 10:55:45 +0200 > Gilles Chanteperdrix wrote: > > > Hi, > > > > I just triend libquvi, and get a segmentation fault in the > > libquvi_read_header function, because ff_copy_whitelists is called > > before qc->fmtctx is all

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread wm4
On Wed, 8 Apr 2015 10:55:45 +0200 Gilles Chanteperdrix wrote: > Hi, > > I just triend libquvi, and get a segmentation fault in the > libquvi_read_header function, because ff_copy_whitelists is called > before qc->fmtctx is allocated by avformat_open_input. I added a > call to avformat_alloc_con

[FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
Hi, I just triend libquvi, and get a segmentation fault in the libquvi_read_header function, because ff_copy_whitelists is called before qc->fmtctx is allocated by avformat_open_input. I added a call to avformat_alloc_context() before ff_copy_whitelists and the libquvi demuxer works. However, I