You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
mmsh/mmsh_close: use av_freep()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -67,8 +67,8 @@ static int mmsh_close(URLContext *h)
|
|||||||
MMSContext *mms = &mmsh->mms;
|
MMSContext *mms = &mmsh->mms;
|
||||||
if (mms->mms_hd)
|
if (mms->mms_hd)
|
||||||
ffurl_close(mms->mms_hd);
|
ffurl_close(mms->mms_hd);
|
||||||
av_free(mms->streams);
|
av_freep(&mms->streams);
|
||||||
av_free(mms->asf_header);
|
av_freep(&mms->asf_header);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user