[FFmpeg-cvslog] udp: update to new interrupt callback API

Michael Niedermayer git at videolan.org
Sat Nov 19 02:28:46 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Nov 19 02:14:28 2011 +0100| [328a3545c685f9756460b40d6cc0fb2f4a7e550e] | committer: Michael Niedermayer

udp: update to new interrupt callback API

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=328a3545c685f9756460b40d6cc0fb2f4a7e550e
---

 libavformat/udp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/udp.c b/libavformat/udp.c
index 170f132..ee5b304 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -329,7 +329,7 @@ static void *circular_buffer_task( void *_URLContext)
         int ret;
         int len;
 
-        if (url_interrupt_cb()) {
+        if (ff_check_interrupt(&h->interrupt_callback)) {
             s->circular_buffer_error = EINTR;
             return NULL;
         }



More information about the ffmpeg-cvslog mailing list