diff options
author | jstebbins <[email protected]> | 2013-06-30 20:44:21 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2013-06-30 20:44:21 +0000 |
commit | ba3674603258b9bd9662af2b8f2225f9e9395ca1 (patch) | |
tree | 69cf3e5d77d21f07a57554ae5d1dd2bfa78e7f8b /libhb/decmetadata.c | |
parent | d6fcba15d04322d3b6495cae70b813be5c3243b4 (diff) |
libhb: add experimental avformat muxer for mkv and mp4
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5620 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decmetadata.c')
-rw-r--r-- | libhb/decmetadata.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libhb/decmetadata.c b/libhb/decmetadata.c index 5f6b6af7b..c7c0d9858 100644 --- a/libhb/decmetadata.c +++ b/libhb/decmetadata.c @@ -7,10 +7,12 @@ For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html */ -#include <mp4v2/mp4v2.h> #include "common.h" +#if defined(USE_MP4V2) +#include <mp4v2/mp4v2.h> + static int decmp4metadata( hb_title_t *title ) { MP4FileHandle input_file; @@ -172,6 +174,7 @@ static int decmp4metadata( hb_title_t *title ) } return result; } +#endif // USE_MP4V2 /* * decmetadata() @@ -190,6 +193,7 @@ int decmetadata( hb_title_t *title ) return 0; } +#if defined(USE_MP4V2) /* * Hacky way of figuring out if this is an MP4, in which case read the data using libmp4v2 */ @@ -197,5 +201,6 @@ int decmetadata( hb_title_t *title ) { return decmp4metadata( title ); } +#endif return 0; } |