Re: [FFmpeg-devel] [PATCH 4/4] dict.c: empty dictionaries should be a NULL pointer.

2014-08-13 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 09:17:19PM +0200, Reimar Döffinger wrote: > Ensure this is even the case if they are empty because > we failed adding the first entry. > > Signed-off-by: Reimar Döffinger > --- > libavutil/dict.c | 4 > 1 file changed, 4 insertions(+) LGTM [...] -- Michael Gnu

[FFmpeg-devel] [PATCH 4/4] dict.c: empty dictionaries should be a NULL pointer.

2014-08-11 Thread Reimar Döffinger
Ensure this is even the case if they are empty because we failed adding the first entry. Signed-off-by: Reimar Döffinger --- libavutil/dict.c | 4 1 file changed, 4 insertions(+) diff --git a/libavutil/dict.c b/libavutil/dict.c index f23b768..bdb5690 100644 --- a/libavutil/dict.c +++ b/lib

[FFmpeg-devel] [PATCH 4/4] dict.c: empty dictionaries should be a NULL pointer.

2014-07-30 Thread Reimar Döffinger
Ensure this is even the case if they are empty because we failed adding the first entry. Signed-off-by: Reimar Döffinger --- libavutil/dict.c | 4 1 file changed, 4 insertions(+) diff --git a/libavutil/dict.c b/libavutil/dict.c index 2cd67e8..9063a57 100644 --- a/libavutil/dict.c +++ b/lib