[FFmpeg-devel] Patch for device list error in decklink_common.cpp
Michael Niedermayer
michaelni at gmx.at
Wed Dec 3 18:41:18 CET 2014
On Wed, Dec 03, 2014 at 06:29:37PM +0100, Ramiro Polla wrote:
>
> On 03.12.2014 16:44, Jon bae wrote:
> >Ok finally... Here now only the first line changed. Sorry for the mess, I
> >'m not the right person for that.
>
> >From 2cddda59076b2ac5a539f7016c0aa1883d37c6d8 Mon Sep 17 00:00:00 2001
> >From: Jonathan Baecker <jonbae77 at gmail.com>
> >Date: Wed, 3 Dec 2014 16:41:41 +0100
> >Subject: [PATCH] fix COM initialization failed
> >
> >Signed-off-by: Jonathan Baecker <jonbae77 at gmail.com>
> >---
> > libavdevice/decklink_common.cpp | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/libavdevice/decklink_common.cpp b/libavdevice/decklink_common.cpp
> >index 6899bd2..07e1651 100644
> >--- a/libavdevice/decklink_common.cpp
> >+++ b/libavdevice/decklink_common.cpp
> >@@ -42,7 +42,7 @@ IDeckLinkIterator *CreateDeckLinkIteratorInstance(void)
> > {
> > IDeckLinkIterator *iter;
> >
> >- if (CoInitialize(NULL) != S_OK) {
> >+ if (CoInitialize(NULL) < 0) {
> > av_log(NULL, AV_LOG_ERROR, "COM initialization failed.\n");
> > return NULL;
> > }
>
> LGTM. Thanks for submitting the patches!
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141203/544ab4d3/attachment.asc>
More information about the ffmpeg-devel
mailing list