diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-05-06 21:48:14 +0200 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-05-07 23:39:47 +0200 |
commit | ce1eefe691ef52539adb8f4991092f181a17370d (patch) | |
tree | fe67c4acbfe1b78ec0bf4224bc2ca58cb3dadb1e /libavformat/udp.c | |
parent | a5f2f33a679421506a7e1755e82edaebc63f3588 (diff) | |
download | ffmpeg-ce1eefe691ef52539adb8f4991092f181a17370d.tar.gz |
lavf: use av_fifo_freep
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r-- | libavformat/udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c index d9a18d5739..65c7a5549d 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -761,7 +761,7 @@ static int udp_open(URLContext *h, const char *uri, int flags) fail: if (udp_fd >= 0) closesocket(udp_fd); - av_fifo_free(s->fifo); + av_fifo_freep(&s->fifo); for (i = 0; i < num_include_sources; i++) av_freep(&include_sources[i]); for (i = 0; i < num_exclude_sources; i++) @@ -867,7 +867,7 @@ static int udp_close(URLContext *h) pthread_cond_destroy(&s->cond); } #endif - av_fifo_free(s->fifo); + av_fifo_freep(&s->fifo); return 0; } |