Closed GoogleCodeExporter closed 9 years ago
I replaced in all .h file
class MP4V2_EXPORT with class MP4V2_CLASS_EXPORT
struct MP4V2_EXPORT with struct MP4V2_CLASS_EXPORT
Original comment by eriks.al...@gmail.com
on 22 Sep 2010 at 9:02
Is the goal to reduce mp4v2 library size? Or are you proposing this change for
some other reason?
For the sake of simplicity/compatibility, I'm not going to add this change.
There are project settings that would possibly be involved, and clients would
also need to be in sync (and I don't have control over that). I don't think
~70KB is worth the potential risks involved with making mp4v2 dlls that don't
necessarily contain C++ exports. Also, I think the possibility of breaking
existing projects using mp4v2 is very, very high.
If there were a new #define, it should be that by default the classes are
exported unless some "no class exports" type of thing is defined (so that you
have to go out of your way to disable class exports rather than go out of your
way to enable it).
Of course, you're welcome to make these changes locally.
Original comment by kid...@gmail.com
on 22 Sep 2010 at 5:15
Original issue reported on code.google.com by
eriks.al...@gmail.com
on 22 Sep 2010 at 8:53Attachments: