Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
6fd47806
Commit
6fd47806
authored
May 04, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oggdec: print error on unsupported versions
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
96fb233e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
oggdec.c
libavformat/oggdec.c
+3
-1
No files found.
libavformat/oggdec.c
View file @
6fd47806
...
@@ -239,8 +239,10 @@ static int ogg_read_page(AVFormatContext *s, int *str)
...
@@ -239,8 +239,10 @@ static int ogg_read_page(AVFormatContext *s, int *str)
return
AVERROR_INVALIDDATA
;
return
AVERROR_INVALIDDATA
;
}
}
if
(
avio_r8
(
bc
)
!=
0
)
/* version */
if
(
avio_r8
(
bc
)
!=
0
){
/* version */
av_log
(
s
,
AV_LOG_ERROR
,
"ogg page, unsupported version
\n
"
);
return
AVERROR_INVALIDDATA
;
return
AVERROR_INVALIDDATA
;
}
flags
=
avio_r8
(
bc
);
flags
=
avio_r8
(
bc
);
gp
=
avio_rl64
(
bc
);
gp
=
avio_rl64
(
bc
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment