[vlc-commits] mux:ogg: explicily specifiy the index is in CLOCK_FREQ ticks
Steve Lhomme
git at videolan.org
Tue Sep 18 15:56:01 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jun 13 10:19:00 2018 +0200| [ed3a861b9cb13f79fa9ea129cde07c8898796ea7] | committer: Steve Lhomme
mux:ogg: explicily specifiy the index is in CLOCK_FREQ ticks
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ed3a861b9cb13f79fa9ea129cde07c8898796ea7
---
modules/mux/ogg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/mux/ogg.c b/modules/mux/ogg.c
index e79a448509..3589c320c0 100644
--- a/modules/mux/ogg.c
+++ b/modules/mux/ogg.c
@@ -717,7 +717,7 @@ static void OggGetSkeletonIndex( uint8_t **pp_buffer, long *pi_size, ogg_stream_
memcpy( p_buffer, "index", 6 );
SetDWLE( &p_buffer[6], p_stream->i_serial_no );
SetQWLE( &p_buffer[10], p_stream->skeleton.i_index_count ); /* num keypoints */
- SetQWLE( &p_buffer[18], 1000000 );
+ SetQWLE( &p_buffer[18], CLOCK_FREQ );
SetQWLE( &p_buffer[34], p_stream->i_length );
memcpy( p_buffer + INDEX_BASE_SIZE, p_stream->skeleton.p_index, p_stream->skeleton.i_index_payload );
*pi_size = INDEX_BASE_SIZE + p_stream->skeleton.i_index_size;
More information about the vlc-commits
mailing list