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
9717dad8
Commit
9717dad8
authored
May 03, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move put_string() to common.{c,h}
Originally committed as revision 439 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
1c3a2382
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
common.c
libavcodec/common.c
+9
-0
common.h
libavcodec/common.h
+1
-0
h263.c
libavcodec/h263.c
+0
-9
No files found.
libavcodec/common.c
View file @
9717dad8
...
...
@@ -108,6 +108,15 @@ void jflush_put_bits(PutBitContext *s)
}
#endif
void
put_string
(
PutBitContext
*
pbc
,
char
*
s
)
{
while
(
*
s
){
put_bits
(
pbc
,
8
,
*
s
);
s
++
;
}
put_bits
(
pbc
,
8
,
0
);
}
/* bit input functions */
void
init_get_bits
(
GetBitContext
*
s
,
...
...
libavcodec/common.h
View file @
9717dad8
...
...
@@ -186,6 +186,7 @@ void init_put_bits(PutBitContext *s,
INT64
get_bit_count
(
PutBitContext
*
s
);
/* XXX: change function name */
void
align_put_bits
(
PutBitContext
*
s
);
void
flush_put_bits
(
PutBitContext
*
s
);
void
put_string
(
PutBitContext
*
pbc
,
char
*
s
);
/* jpeg specific put_bits */
void
jflush_put_bits
(
PutBitContext
*
s
);
...
...
libavcodec/h263.c
View file @
9717dad8
...
...
@@ -1102,15 +1102,6 @@ static void mpeg4_stuffing(PutBitContext * pbc)
put_bits
(
pbc
,
length
,
(
1
<<
length
)
-
1
);
}
static
void
put_string
(
PutBitContext
*
pbc
,
char
*
s
)
{
while
(
*
s
){
put_bits
(
pbc
,
8
,
*
s
);
s
++
;
}
put_bits
(
pbc
,
8
,
0
);
}
/* must be called before writing the header */
void
ff_set_mpeg4_time
(
MpegEncContext
*
s
,
int
picture_number
){
int
time_div
,
time_mod
;
...
...
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