Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
0127941f
Commit
0127941f
authored
Sep 01, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/ffmpeg/video.c: fixed a crash on win32 (s/free/av_free).
parent
ad949aa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/codec/ffmpeg/video.c
modules/codec/ffmpeg/video.c
+2
-2
No files found.
modules/codec/ffmpeg/video.c
View file @
0127941f
...
...
@@ -372,7 +372,7 @@ int E_(InitVideoDec)( decoder_t *p_dec, AVCodecContext *p_context,
p_sys
->
i_late_frames
=
0
;
p_sys
->
i_buffer
=
0
;
p_sys
->
i_buffer_orig
=
1
;
p_sys
->
p_buffer_orig
=
p_sys
->
p_buffer
=
malloc
(
p_sys
->
i_buffer
);
p_sys
->
p_buffer_orig
=
p_sys
->
p_buffer
=
malloc
(
p_sys
->
i_buffer
_orig
);
/* Set output properties */
p_dec
->
fmt_out
.
i_cat
=
VIDEO_ES
;
...
...
@@ -652,7 +652,7 @@ void E_(EndVideoDec)( decoder_t *p_dec )
{
decoder_sys_t
*
p_sys
=
p_dec
->
p_sys
;
if
(
p_sys
->
p_ff_pic
)
free
(
p_sys
->
p_ff_pic
);
if
(
p_sys
->
p_ff_pic
)
av_
free
(
p_sys
->
p_ff_pic
);
#ifdef LIBAVCODEC_PP
E_
(
ClosePostproc
)(
p_dec
,
p_sys
->
p_pp
);
...
...
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