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
133cc989
Commit
133cc989
authored
Aug 26, 2010
by
Tobias Bindhammer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic changes.
Originally committed as revision 24944 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2fdb2b54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
a64.c
libavformat/a64.c
+5
-5
No files found.
libavformat/a64.c
View file @
133cc989
...
...
@@ -32,7 +32,7 @@ typedef struct A64MuxerContext {
static
int
a64_write_header
(
struct
AVFormatContext
*
s
)
{
AVCodecContext
*
avctx
=
s
->
streams
[
0
]
->
codec
;
AVCodecContext
*
avctx
=
s
->
streams
[
0
]
->
codec
;
A64MuxerContext
*
c
=
s
->
priv_data
;
uint8_t
header
[
5
]
=
{
0x00
,
//load
...
...
@@ -111,16 +111,16 @@ static int a64_write_packet(struct AVFormatContext *s, AVPacket *pkt)
put_buffer
(
s
->
pb
,
pkt
->
data
+
ch_chunksize
*
i
,
ch_chunksize
);
}
else
{
/* a bit ugly, but is there an alternative to put many zeros? */
for
(
j
=
0
;
j
<
ch_chunksize
;
j
++
)
put_byte
(
s
->
pb
,
0
);
/* a bit ugly, but is there an alternative to put many zeros? */
for
(
j
=
0
;
j
<
ch_chunksize
;
j
++
)
put_byte
(
s
->
pb
,
0
);
}
if
(
c
->
prev_pkt
.
data
)
{
/* put frame (screen + colram) from last packet into buffer */
put_buffer
(
s
->
pb
,
c
->
prev_pkt
.
data
+
charset_size
+
frame_size
*
i
,
frame_size
);
}
else
{
/* a bit ugly, but is there an alternative to put many zeros? */
for
(
j
=
0
;
j
<
frame_size
;
j
++
)
put_byte
(
s
->
pb
,
0
);
/* a bit ugly, but is there an alternative to put many zeros? */
for
(
j
=
0
;
j
<
frame_size
;
j
++
)
put_byte
(
s
->
pb
,
0
);
}
}
/* backup current packet for next turn */
...
...
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