[FFmpeg-devel] [PATCH 1/2] libavformat/mxfenc.c: Fix segfault when writing an audio packet when there has not been a video one.

2015-10-16 Thread Alexis Ballier
This happens when writing the trailer of a file containing audio but that has not muxed any video packet. Fixes ticket #4817. This ticket also highlights the fact that mpeg2 video encoder produces no output when it has received less frames than its delay. --- libavformat/mxfenc.c | 2 +-

Re: [FFmpeg-devel] [PATCH 1/2] libavformat/mxfenc.c: Fix segfault when writing an audio packet when there has not been a video one.

2015-10-19 Thread Michael Niedermayer
On Fri, Oct 16, 2015 at 10:42:32AM +0200, Alexis Ballier wrote: > This happens when writing the trailer of a file containing audio but that has > not muxed any video packet. > Fixes ticket #4817. > > from IRC: maybe it should print a warning that there has been no video? [...] -- Michael

Re: [FFmpeg-devel] [PATCH 1/2] libavformat/mxfenc.c: Fix segfault when writing an audio packet when there has not been a video one.

2015-10-19 Thread Carl Eugen Hoyos
Alexis Ballier gentoo.org> writes: > This happens when writing the trailer of a file containing > audio but that has not muxed any video packet. > Fixes ticket #4817. Please also mention #4914 if appropriate. Merci, Carl Eugen ___ ffmpeg-devel maili

Re: [FFmpeg-devel] [PATCH 1/2] libavformat/mxfenc.c: Fix segfault when writing an audio packet when there has not been a video one.

2015-10-19 Thread Alexis Ballier
On Mon, 19 Oct 2015 10:30:00 +0200 Michael Niedermayer wrote: > On Fri, Oct 16, 2015 at 10:42:32AM +0200, Alexis Ballier wrote: > > This happens when writing the trailer of a file containing audio > > but that has not muxed any video packet. Fixes ticket #4817. > > > > > > from IRC: > m

Re: [FFmpeg-devel] [PATCH 1/2] libavformat/mxfenc.c: Fix segfault when writing an audio packet when there has not been a video one.

2015-10-19 Thread Tomas Härdin
On Mon, 2015-10-19 at 11:40 +0200, Alexis Ballier wrote: > On Mon, 19 Oct 2015 10:30:00 +0200 > Michael Niedermayer wrote: > > > On Fri, Oct 16, 2015 at 10:42:32AM +0200, Alexis Ballier wrote: > > > This happens when writing the trailer of a file containing audio > > > but that has not muxed any

Re: [FFmpeg-devel] [PATCH 1/2] libavformat/mxfenc.c: Fix segfault when writing an audio packet when there has not been a video one.

2015-10-20 Thread Marton Balint
On Mon, 19 Oct 2015, Tomas Härdin wrote: On Mon, 2015-10-19 at 11:40 +0200, Alexis Ballier wrote: On Mon, 19 Oct 2015 10:30:00 +0200 Michael Niedermayer wrote: On Fri, Oct 16, 2015 at 10:42:32AM +0200, Alexis Ballier wrote: This happens when writing the trailer of a file containing audio b

Re: [FFmpeg-devel] [PATCH 1/2] libavformat/mxfenc.c: Fix segfault when writing an audio packet when there has not been a video one.

2015-10-21 Thread Tomas Härdin
On Tue, 2015-10-20 at 16:43 +0200, Marton Balint wrote: > On Mon, 19 Oct 2015, Tomas Härdin wrote: > > > On Mon, 2015-10-19 at 11:40 +0200, Alexis Ballier wrote: > >> On Mon, 19 Oct 2015 10:30:00 +0200 > >> Michael Niedermayer wrote: > >> > >>> On Fri, Oct 16, 2015 at 10:42:32AM +0200, Alexis Bal

Re: [FFmpeg-devel] [PATCH 1/2] libavformat/mxfenc.c: Fix segfault when writing an audio packet when there has not been a video one.

2015-10-24 Thread Alexis Ballier
On Wed, 21 Oct 2015 22:43:04 +0200 Tomas Härdin wrote: > On Tue, 2015-10-20 at 16:43 +0200, Marton Balint wrote: > > On Mon, 19 Oct 2015, Tomas Härdin wrote: > > > > > On Mon, 2015-10-19 at 11:40 +0200, Alexis Ballier wrote: > > >> On Mon, 19 Oct 2015 10:30:00 +0200 > > >> Michael Niedermaye