Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
e7bb1508
Commit
e7bb1508
authored
Mar 01, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avparser: fix compilation with some older libav/FFmpeg versions
Ref #12135
parent
3e51cde9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
modules/packetizer/avparser.c
modules/packetizer/avparser.c
+14
-0
No files found.
modules/packetizer/avparser.c
View file @
e7bb1508
...
...
@@ -38,6 +38,20 @@
#include "../codec/avcodec/avcommon.h"
#include "avparser.h"
#if !LIBAVCODEC_VERSION_CHECK( 55, 52, 0, 63, 100 )
#include <libavutil/mem.h>
static
inline
void
avcodec_free_context
(
AVCodecContext
**
ctx
)
{
if
(
!*
ctx
)
return
;
av_free
(
(
*
ctx
)
->
extradata
);
av_free
(
*
ctx
);
*
ctx
=
NULL
;
}
#endif
/*****************************************************************************
* Module descriptor
*****************************************************************************/
...
...
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