aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/ffmpeg_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-24 11:49:37 +0100
committerMax Kellermann <max@duempel.org>2008-12-24 11:49:37 +0100
commit82ef85a3097e9fc9e24767c1180c4bdb577dd0cd (patch)
tree3247213b80d959b05143fdfef02c0809babe4f5b /src/decoder/ffmpeg_plugin.c
parentfefd3d6fb7d32513cd0e05c53f404f35a67ace05 (diff)
downloadmpd-82ef85a3097e9fc9e24767c1180c4bdb577dd0cd.tar.gz
mpd-82ef85a3097e9fc9e24767c1180c4bdb577dd0cd.tar.xz
mpd-82ef85a3097e9fc9e24767c1180c4bdb577dd0cd.zip
ffmpeg: don't assign "0" to pointer
Use NULL instead. Found by sparse.
Diffstat (limited to '')
-rw-r--r--src/decoder/ffmpeg_plugin.c2
1 files changed, 1 insertions, 1 deletions
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;
}