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
ad9c1055
Commit
ad9c1055
authored
Jun 26, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge decl & init
Originally committed as revision 14001 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a4fe6826
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
psxstr.c
libavformat/psxstr.c
+1
-2
No files found.
libavformat/psxstr.c
View file @
ad9c1055
...
...
@@ -202,7 +202,7 @@ static int str_read_packet(AVFormatContext *s,
case
CDXA_TYPE_AUDIO
:
if
(
str
->
channels
[
channel
].
audio_stream_index
<
0
){
int
fmt
;
int
fmt
=
sector
[
0x13
]
;
/* allocate a new AVStream */
st
=
av_new_stream
(
s
,
0
);
if
(
!
st
)
...
...
@@ -210,7 +210,6 @@ static int str_read_packet(AVFormatContext *s,
str
->
channels
[
channel
].
audio_stream_index
=
st
->
index
;
fmt
=
sector
[
0x13
];
st
->
codec
->
codec_type
=
CODEC_TYPE_AUDIO
;
st
->
codec
->
codec_id
=
CODEC_ID_ADPCM_XA
;
st
->
codec
->
codec_tag
=
0
;
/* no fourcc */
...
...
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