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
5836d158
Commit
5836d158
authored
Nov 18, 2006
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix misplaced comment.
Originally committed as revision 7120 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
8662900b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
avidec.c
libavformat/avidec.c
+2
-2
No files found.
libavformat/avidec.c
View file @
5836d158
...
...
@@ -440,12 +440,12 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
av_log
(
s
,
AV_LOG_DEBUG
,
"invalid sample size or block align detected
\n
"
);
if
(
size
%
2
)
/* 2-aligned (fix for Stargate SG-1 - 3x18 - Shades of Grey.avi) */
url_fskip
(
pb
,
1
);
/* Force parsing as several audio frames can be in
* one packet. */
st
->
need_parsing
=
1
;
/* ADTS header is in extradata, AAC without header must be stored as exact frames, parser not needed and it will fail */
if
(
st
->
codec
->
codec_id
==
CODEC_ID_AAC
&&
st
->
codec
->
extradata_size
)
st
->
need_parsing
=
0
;
/* force parsing as several audio frames can be in
one packet */
/* AVI files with Xan DPCM audio (wrongly) declare PCM
* audio in the header but have Axan as stream_code_tag. */
if
(
st
->
codec
->
stream_codec_tag
==
ff_get_fourcc
(
"Axan"
)){
...
...
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