wmiller848 / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Export MJpegDecoder #252

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When using LIBYUV_USING_SHARED_LIBRARY in GYP, libyuv is built as shared 
library.  It means that function entry has "dllimport".

C-style functions define has LIBYUV_API, But MJpegDecoder class doesn't have.  
So this class isn't exported.

What steps will reproduce the problem?
build width LIBYUV_USING_SHARED_LIBRARY

What is the expected output? What do you see instead?
MJpegDecoder is exported when using shared library.

What version of the product are you using? On what operating system?
trunk

Please provide any additional information below.

Original issue reported on code.google.com by makoto...@gmail.com on 22 Jul 2013 at 7:51

GoogleCodeExporter commented 9 years ago
a patch to fix this issue

Original comment by makoto...@gmail.com on 22 Jul 2013 at 7:54

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the bug/patch.
I hadnt thought c++ would be usable via DLL, but your change looks fine.

Original comment by fbarch...@google.com on 23 Jul 2013 at 9:18

GoogleCodeExporter commented 9 years ago
Fixed in r737.  

Original comment by fbarch...@chromium.org on 23 Jul 2013 at 8:40