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
cbb7f56d
Commit
cbb7f56d
authored
Oct 25, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
metasound & twinvqdec: return the number of read bytes from read_bitstream
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
f5dae489
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
metasound.c
libavcodec/metasound.c
+1
-1
twinvqdec.c
libavcodec/twinvqdec.c
+1
-1
No files found.
libavcodec/metasound.c
View file @
cbb7f56d
...
...
@@ -226,7 +226,7 @@ static int metasound_read_bitstream(AVCodecContext *avctx, TwinVQContext *tctx,
}
}
return
0
;
return
(
get_bits_count
(
&
gb
)
+
7
)
/
8
;
}
typedef
struct
MetasoundProps
{
...
...
libavcodec/twinvqdec.c
View file @
cbb7f56d
...
...
@@ -312,7 +312,7 @@ static int twinvq_read_bitstream(AVCodecContext *avctx, TwinVQContext *tctx,
}
}
return
0
;
return
(
get_bits_count
(
&
gb
)
+
7
)
/
8
;
}
static
av_cold
int
twinvq_decode_init
(
AVCodecContext
*
avctx
)
...
...
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