This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avdevice/dv1394: Use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer
10 years ago
parent
3b1f747238
commit
beaea2de61
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavdevice/dv1394.c
+ 1
- 1
libavdevice/dv1394.c
View File
@@ -206,7 +206,7 @@ static int dv1394_close(AVFormatContext * context)
av_log(context, AV_LOG_ERROR, "Failed to munmap DV1394 ring buffer: %s\n", strerror(errno));
av_log(context, AV_LOG_ERROR, "Failed to munmap DV1394 ring buffer: %s\n", strerror(errno));
close(dv->fd);
close(dv->fd);
av_free(dv->dv_demux);
av_free
p
(
&
dv->dv_demux);
return 0;
return 0;
}
}
Write
Preview
Loading…
Cancel
Save