From 82ef85a3097e9fc9e24767c1180c4bdb577dd0cd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Dec 2008 11:49:37 +0100 Subject: ffmpeg: don't assign "0" to pointer Use NULL instead. Found by sparse. --- src/decoder/ffmpeg_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder') diff --git a/src/decoder/ffmpeg_plugin.c b/src/decoder/ffmpeg_plugin.c index 262b4f69d..d1e17885a 100644 --- a/src/decoder/ffmpeg_plugin.c +++ b/src/decoder/ffmpeg_plugin.c @@ -106,7 +106,7 @@ static int64_t mpd_ffmpeg_seek(URLContext *h, int64_t pos, int whence) static int mpd_ffmpeg_close(URLContext *h) { - h->priv_data = 0; + h->priv_data = NULL; return 0; } -- cgit v1.2.3