Re: [FFmpeg-devel] [PATCH]lavf/movenc: Fix a compilation warning

2016-08-23 Thread Carl Eugen Hoyos
2016-08-23 22:30 GMT+02:00 Michael Niedermayer : > On Tue, Aug 23, 2016 at 09:05:37PM +0200, Carl Eugen Hoyos wrote: >> track->vos_data = av_malloc(track->vos_len); >> if (!track->vos_data) { >> -AVERROR(ENOMEM); >> +res = AVERROR(ENOMEM);

Re: [FFmpeg-devel] [PATCH]lavf/movenc: Fix a compilation warning

2016-08-23 Thread Michael Niedermayer
On Tue, Aug 23, 2016 at 09:05:37PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes a warning here, am I misunderstanding the code? > > Please comment, Carl Eugen > movenc.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > b1ebc046114fef9cb5d3545a5d0bb2207859c6fe > 00

[FFmpeg-devel] [PATCH]lavf/movenc: Fix a compilation warning

2016-08-23 Thread Carl Eugen Hoyos
Hi! Attached patch fixes a warning here, am I misunderstanding the code? Please comment, Carl Eugen From 3b562e7fada0474dee1fcab17c7458344c2c5036 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 23 Aug 2016 21:02:57 +0200 Subject: [PATCH] lavf/movenc: Add a missing assignment if memory