From 2c5438aa574f1d0433e4ecc9fd59f886265225ba Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Wed, 6 Oct 2010 17:50:05 +0000 Subject: [PATCH] Fix default value of time_offset_length. Patch by John Stebbins stebbins jetheaddev com. Originally committed as revision 25374 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264_ps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c index 6e12700..d147928 100644 --- a/libavcodec/h264_ps.c +++ b/libavcodec/h264_ps.c @@ -289,6 +289,7 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){ if(sps == NULL) return -1; + sps->time_offset_length = 24; sps->profile_idc= profile_idc; sps->level_idc= level_idc; -- 2.7.4