Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
431
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
9a0b28b1
Commit
9a0b28b1
authored
2 years ago
by
François Cartegnie
Committed by
Jean-Baptiste Kempf
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
demux: ogg: fix non fastseek lookup issues with small files
parent
ff7e38fe
No related branches found
No related tags found
1 merge request
!1951
demux: ogg: fix non fastseek lookup issues with small files
Pipeline
#223459
passed with stage
Stage:
in 16 minutes and 53 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/demux/oggseek.c
+2
-1
2 additions, 1 deletion
modules/demux/oggseek.c
with
2 additions
and
1 deletion
modules/demux/oggseek.c
+
2
−
1
View file @
9a0b28b1
...
...
@@ -49,6 +49,7 @@
#define SEGMENT_NOT_FOUND -1
#define MAX_PAGE_SIZE 65307
#define MIN_PAGE_SIZE 27
typedef
struct
packetStartCoordinates
{
int64_t
i_pos
;
...
...
@@ -862,7 +863,7 @@ int Oggseek_BlindSeektoPosition( demux_t *p_demux, logical_stream_t *p_stream,
{
/* Otherwise, we just sync to the next keyframe we meet */
i_pagepos
=
OggForwardSeekToFrame
(
p_demux
,
__MAX
(
i_size
-
M
AX
_PAGE_SIZE
,
p_stream
->
i_data_start
),
__MAX
(
i_size
-
M
IN
_PAGE_SIZE
,
p_stream
->
i_data_start
),
stream_Size
(
p_demux
->
s
),
p_stream
,
i_granule
,
false
);
}
...
...
This diff is collapsed.
Click to expand it.
François Cartegnie
@fcartegnie
mentioned in merge request
!1980 (merged)
·
2 years ago
mentioned in merge request
!1980 (merged)
mentioned in merge request !1980
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment