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
db71c492
Commit
db71c492
authored
Nov 05, 2014
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mjpegenc: fix argument size in encode_mb
CC: libav-stable@libav.org Bug-Id: CID 1047235
parent
f349f4b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mjpegenc.c
libavcodec/mjpegenc.c
+1
-1
mjpegenc.h
libavcodec/mjpegenc.h
+1
-1
No files found.
libavcodec/mjpegenc.c
View file @
db71c492
...
...
@@ -136,7 +136,7 @@ static void encode_block(MpegEncContext *s, int16_t *block, int n)
put_bits
(
&
s
->
pb
,
huff_size_ac
[
0
],
huff_code_ac
[
0
]);
}
void
ff_mjpeg_encode_mb
(
MpegEncContext
*
s
,
int16_t
block
[
6
][
64
])
void
ff_mjpeg_encode_mb
(
MpegEncContext
*
s
,
int16_t
block
[
8
][
64
])
{
int
i
;
for
(
i
=
0
;
i
<
5
;
i
++
)
{
...
...
libavcodec/mjpegenc.h
View file @
db71c492
...
...
@@ -51,6 +51,6 @@ typedef struct MJpegContext {
int
ff_mjpeg_encode_init
(
MpegEncContext
*
s
);
void
ff_mjpeg_encode_close
(
MpegEncContext
*
s
);
void
ff_mjpeg_encode_mb
(
MpegEncContext
*
s
,
int16_t
block
[
6
][
64
]);
void
ff_mjpeg_encode_mb
(
MpegEncContext
*
s
,
int16_t
block
[
8
][
64
]);
#endif
/* AVCODEC_MJPEGENC_H */
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