]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avio.c
Merge commit '37394ef01b040605f8e1c98e73aa12b1c0bcba07'
[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;
 }