consumer_avformat.c: fix pointer passed to url_fclose()
[melted] / src / modules / avformat / consumer_avformat.c
index ddce8bb..580956e 100644 (file)
@@ -1150,7 +1150,7 @@ static void *consumer_thread( void *arg )
 
        // Close the output file
        if (!(fmt->flags & AVFMT_NOFILE))
-               url_fclose(&oc->pb);
+               url_fclose(oc->pb);
 
        // Clean up input and output frames
        if ( output )