Re: [FFmpeg-devel] [PATCH] ffplay: dont leave swresampler in half initialized state

2014-10-09 Thread Michael Niedermayer
On Thu, Oct 09, 2014 at 11:26:52PM +0200, Marton Balint wrote: > > On Thu, 9 Oct 2014, Michael Niedermayer wrote: > > >On Wed, Oct 08, 2014 at 11:48:58PM +0200, Marton Balint wrote: > >>On init failure, let's just free it, so next time it will be recreated from > >>start. > >> > >>Also fixes Cove

Re: [FFmpeg-devel] [PATCH] ffplay: dont leave swresampler in half initialized state

2014-10-09 Thread Marton Balint
On Thu, 9 Oct 2014, Michael Niedermayer wrote: On Wed, Oct 08, 2014 at 11:48:58PM +0200, Marton Balint wrote: On init failure, let's just free it, so next time it will be recreated from start. Also fixes Coverity CID 1241515. Signed-off-by: Marton Balint --- ffplay.c | 4 +++- 1 file chang

Re: [FFmpeg-devel] [PATCH] ffplay: dont leave swresampler in half initialized state

2014-10-08 Thread Michael Niedermayer
On Wed, Oct 08, 2014 at 11:48:58PM +0200, Marton Balint wrote: > On init failure, let's just free it, so next time it will be recreated from > start. > > Also fixes Coverity CID 1241515. > > Signed-off-by: Marton Balint > --- > ffplay.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)

[FFmpeg-devel] [PATCH] ffplay: dont leave swresampler in half initialized state

2014-10-08 Thread Marton Balint
On init failure, let's just free it, so next time it will be recreated from start. Also fixes Coverity CID 1241515. Signed-off-by: Marton Balint --- ffplay.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ffplay.c b/ffplay.c index 8fa5ca3..37983e9 100644 --- a/ffplay.c +