summaryrefslogtreecommitdiff
path: root/libavcodec/h264_ps.c
diff options
context:
space:
mode:
authorJohn Stebbins <stebbins@jetheaddev.com>2010-10-06 17:50:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-10-06 17:50:05 +0000
commit2c5438aa574f1d0433e4ecc9fd59f886265225ba (patch)
treedef1e64a6bc05243487ecd3fbe8037466cb3d143 /libavcodec/h264_ps.c
parent7c0460496b5eeb1713f00c00e2e61b420bb928e7 (diff)
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
Diffstat (limited to 'libavcodec/h264_ps.c')
-rw-r--r--libavcodec/h264_ps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c
index 6e12700023..d1479289fb 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;