[FFmpeg-devel] avdevice/decklink: Fix seg fault in decklink

BIGLER Don (Framatome) don.bigler at framatome.com
Tue Dec 18 00:01:22 EET 2018

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


Office   1 434 832 4181
Fax       1 434 382 3773

155 Mill Ridge Road
Lynchburg, VA 24503
mail to:  Don.Bigler at framatome.com<mailto:Don.Bigler at framatome.com>
[cid:image004.png at 01D4962A.22F659B0]
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 at 01D3848C.B8D0DCE0]Please don't print this e-mail unless you really need to. Thank you

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 1052 bytes
Desc: image003.jpg
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181217/51ca5a8a/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 6501 bytes
Desc: image004.png
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181217/51ca5a8a/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avdevice-decklink-Fix-seg-fault-in-decklink.patch
Type: application/octet-stream
Size: 876 bytes
Desc: 0001-avdevice-decklink-Fix-seg-fault-in-decklink.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181217/51ca5a8a/attachment.obj>

More information about the ffmpeg-devel mailing list