OSDN Git Service

initialize title->angle_count to 1
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 1 Mar 2011 00:06:41 +0000 (00:06 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 1 Mar 2011 00:06:41 +0000 (00:06 +0000)
sources that don't support multiple angles should default to 1

git-svn-id: svn://localhost/HandBrake/trunk@3821 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/common.c

index 6b1d830..06fb006 100644 (file)
@@ -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;
 }