Fix default value of time_offset_length.
authorJohn Stebbins <stebbins@jetheaddev.com>
Wed, 6 Oct 2010 17:50:05 +0000 (17:50 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Oct 2010 17:50:05 +0000 (17:50 +0000)
Patch by John Stebbins stebbins jetheaddev com.

Originally committed as revision 25374 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264_ps.c

index 6e12700..d147928 100644 (file)
@@ -289,6 +289,7 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){
     if(sps == NULL)
         return -1;
 
     if(sps == NULL)
         return -1;
 
+    sps->time_offset_length = 24;
     sps->profile_idc= profile_idc;
     sps->level_idc= level_idc;
 
     sps->profile_idc= profile_idc;
     sps->level_idc= level_idc;