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
6bd10f2d
Commit
6bd10f2d
authored
Mar 14, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kill av_mallocz_static()
Originally committed as revision 8400 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b21c9af9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
dv.c
libavcodec/dv.c
+1
-5
No files found.
libavcodec/dv.c
View file @
6bd10f2d
...
...
@@ -80,7 +80,7 @@ static RL_VLC_ELEM dv_rl_vlc[1184];
static
struct
dv_vlc_pair
{
uint32_t
vlc
;
uint8_t
size
;
}
(
*
dv_vlc_map
)[
DV_VLC_MAP_LEV_SIZE
]
=
NULL
;
}
dv_vlc_map
[
DV_VLC_MAP_RUN_SIZE
][
DV_VLC_MAP_LEV_SIZE
]
;
static
void
dv_build_unquantize_tables
(
DVVideoContext
*
s
,
uint8_t
*
perm
)
{
...
...
@@ -123,10 +123,6 @@ static int dvvideo_init(AVCodecContext *avctx)
done
=
1
;
dv_vlc_map
=
av_mallocz_static
(
DV_VLC_MAP_LEV_SIZE
*
DV_VLC_MAP_RUN_SIZE
*
sizeof
(
struct
dv_vlc_pair
));
if
(
!
dv_vlc_map
)
return
AVERROR
(
ENOMEM
);
/* dv_anchor lets each thread know its Id */
for
(
i
=
0
;
i
<
DV_ANCHOR_SIZE
;
i
++
)
dv_anchor
[
i
]
=
(
void
*
)(
size_t
)
i
;
...
...
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