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
7b7a74a1
Commit
7b7a74a1
authored
Sep 22, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tta: remove pointless braces
parent
e6923f68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
tta.c
libavcodec/tta.c
+2
-4
No files found.
libavcodec/tta.c
View file @
7b7a74a1
...
@@ -279,11 +279,10 @@ static int tta_decode_frame(AVCodecContext *avctx,
...
@@ -279,11 +279,10 @@ static int tta_decode_frame(AVCodecContext *avctx,
int
buf_size
=
avpkt
->
size
;
int
buf_size
=
avpkt
->
size
;
TTAContext
*
s
=
avctx
->
priv_data
;
TTAContext
*
s
=
avctx
->
priv_data
;
int
i
;
int
i
;
int
cur_chan
=
0
,
framelen
=
s
->
frame_length
;
int32_t
*
p
;
init_get_bits
(
&
s
->
gb
,
buf
,
buf_size
*
8
);
init_get_bits
(
&
s
->
gb
,
buf
,
buf_size
*
8
);
{
int
cur_chan
=
0
,
framelen
=
s
->
frame_length
;
int32_t
*
p
;
// FIXME: seeking
// FIXME: seeking
s
->
total_frames
--
;
s
->
total_frames
--
;
...
@@ -395,7 +394,6 @@ static int tta_decode_frame(AVCodecContext *avctx,
...
@@ -395,7 +394,6 @@ static int tta_decode_frame(AVCodecContext *avctx,
default:
default:
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"Error, only 16bit samples supported!
\n
"
);
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"Error, only 16bit samples supported!
\n
"
);
}
}
}
return
buf_size
;
return
buf_size
;
}
}
...
...
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