]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avio.c
Merge commit 'd7f4f5c4a18a0c9e62635cfa6fe8a9302b413c01'
[ffmpeg] / libavformat / avio.c
index 63e82872f7ce095ee884d128fd77921bec13f293..663789ec024264f877d6a695f17549c722731905 100644 (file)
@@ -663,8 +663,7 @@ int ffurl_shutdown(URLContext *h, int flags)
 
 int ff_check_interrupt(AVIOInterruptCB *cb)
 {
-    int ret;
-    if (cb && cb->callback && (ret = cb->callback(cb->opaque)))
-        return ret;
+    if (cb && cb->callback)
+        return cb->callback(cb->opaque);
     return 0;
 }