Attached is a patch that fixes a potential segmentation fault in avdevice/decklink when used in a multi-threaded environment outside of ffmpeg. Because the capture_started flag is not set the stream is not closed properly. This can cause a segmentation fault when the input callback is called in a multi-threaded reader that has not stopped reading before the connection is closed.
Best regards, Don Bigler, Ph.D. Principal Engineer NDE Engineering Framatome Office 1 434 832 4181 Fax 1 434 382 3773 155 Mill Ridge Road Lynchburg, VA 24503 mail to: don.big...@framatome.com<mailto:don.big...@framatome.com> [cid:image004.png@01D4962A.22F659B0] www.framatome.com<http://www.framatome.com/> Important Note: This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. [cid:image004.jpg@01D3848C.B8D0DCE0]Please don't print this e-mail unless you really need to. Thank you
0001-avdevice-decklink-Fix-seg-fault-in-decklink.patch
Description: 0001-avdevice-decklink-Fix-seg-fault-in-decklink.patch
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel