From: jstebbins Date: Tue, 1 Mar 2011 00:06:41 +0000 (+0000) Subject: initialize title->angle_count to 1 X-Git-Url: http://git.osdn.jp/view?p=handbrake-jp%2Fhandbrake-jp-git.git;a=commitdiff_plain;h=635ffebba8e1131c1f45c426d357eb26648b5ea0 initialize title->angle_count to 1 sources that don't support multiple angles should default to 1 git-svn-id: svn://localhost/HandBrake/trunk@3821 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/libhb/common.c b/libhb/common.c index 6b1d830a..06fb0064 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -1032,6 +1032,7 @@ hb_title_t * hb_title_init( char * path, int index ) // default to decoding mpeg2 t->video_id = 0xE0; t->video_codec = WORK_DECMPEG2; + t->angle_count = 1; return t; }