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
a64a006e
Commit
a64a006e
authored
Jan 25, 2005
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dont duplicate decode012()
Originally committed as revision 3884 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6b250f09
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
20 deletions
+9
-20
bitstream.h
libavcodec/bitstream.h
+9
-0
msmpeg4.c
libavcodec/msmpeg4.c
+0
-10
vc9.c
libavcodec/vc9.c
+0
-10
No files found.
libavcodec/bitstream.h
View file @
a64a006e
...
...
@@ -824,4 +824,13 @@ static inline int get_xbits_trace(GetBitContext *s, int n, char *file, const cha
#define tprintf(...) {}
#endif
static
int
decode012
(
GetBitContext
*
gb
){
int
n
;
n
=
get_bits1
(
gb
);
if
(
n
==
0
)
return
0
;
else
return
get_bits1
(
gb
)
+
1
;
}
#endif
/* BITSTREAM_H */
libavcodec/msmpeg4.c
View file @
a64a006e
...
...
@@ -1195,16 +1195,6 @@ int ff_msmpeg4_decode_init(MpegEncContext *s)
return
0
;
}
static
int
decode012
(
GetBitContext
*
gb
)
{
int
n
;
n
=
get_bits1
(
gb
);
if
(
n
==
0
)
return
0
;
else
return
get_bits1
(
gb
)
+
1
;
}
int
msmpeg4_decode_picture_header
(
MpegEncContext
*
s
)
{
int
code
;
...
...
libavcodec/vc9.c
View file @
a64a006e
...
...
@@ -299,16 +299,6 @@ static int get_prefix(GetBitContext *gb, int stop, int len)
#endif
}
static
int
decode012
(
GetBitContext
*
gb
)
{
int
n
;
n
=
get_bits1
(
gb
);
if
(
n
==
0
)
return
0
;
else
return
get_bits1
(
gb
)
+
1
;
}
static
int
init_common
(
VC9Context
*
v
)
{
static
int
done
=
0
;
...
...
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