From: ThomasVolkert <tho...@homer-conferencing.com>

---
 libavdevice/avfoundation.m | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
index 763e675..aa8e825 100644
--- a/libavdevice/avfoundation.m
+++ b/libavdevice/avfoundation.m
@@ -708,7 +708,9 @@ static int avf_read_header(AVFormatContext *s)
             int index  = [devices indexOfObject:device];
             av_log(ctx, AV_LOG_INFO, "[%d] %s\n", index, name);
         }
-         goto fail;
+
+        [pool release];
+        return 0;
     }
 
     // parse input filename for video and audio device
-- 
1.8.5.2 (Apple Git-48)

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to