ffmpeg: don't assign "0" to pointer
Use NULL instead. Found by sparse.
This commit is contained in:
parent
fefd3d6fb7
commit
82ef85a309
@ -106,7 +106,7 @@ static int64_t mpd_ffmpeg_seek(URLContext *h, int64_t pos, int whence)
|
|||||||
|
|
||||||
static int mpd_ffmpeg_close(URLContext *h)
|
static int mpd_ffmpeg_close(URLContext *h)
|
||||||
{
|
{
|
||||||
h->priv_data = 0;
|
h->priv_data = NULL;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user