summaryrefslogtreecommitdiffstats
path: root/libhb/decavcodec.c
diff options
context:
space:
mode:
authoreddyg <[email protected]>2008-12-02 01:07:02 +0000
committereddyg <[email protected]>2008-12-02 01:07:02 +0000
commit29f8a536e11e713e6f8d983aca4405ab017a21e7 (patch)
tree108bc0a97311cdfc82ac63e27c136de60fc531ff /libhb/decavcodec.c
parent2dddca5b3135ed939df9cdcaf2e5ffb2e4d7f44f (diff)
Add metadata support to libhb, add importing of MP4 metadata, add export of MP4 metadata, add importing of MP4 chapters, add seek to chapter for input files, add new libmp4v2, remove old MP4 chapter muxing - now in libmp4v2.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1987 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r--libhb/decavcodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index 81ea4996b..829846880 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -190,6 +190,7 @@ static int decavcodecInit( hb_work_object_t * w, hb_job_t * job )
/*XXX*/
if ( codec_id == 0 )
codec_id = CODEC_ID_MP2;
+
codec = avcodec_find_decoder( codec_id );
pv->parser = av_parser_init( codec_id );