Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
e91901ad
Commit
e91901ad
authored
Mar 02, 2021
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/cbs: avoid avcodec.h dependency
Include only the headers that are actually needed.
parent
f3f404ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
cbs.c
libavcodec/cbs.c
+1
-0
cbs.h
libavcodec/cbs.h
+5
-2
No files found.
libavcodec/cbs.c
View file @
e91901ad
...
...
@@ -25,6 +25,7 @@
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "cbs.h"
#include "cbs_internal.h"
...
...
libavcodec/cbs.h
View file @
e91901ad
...
...
@@ -24,7 +24,9 @@
#include "libavutil/buffer.h"
#include "avcodec.h"
#include "codec_id.h"
#include "codec_par.h"
#include "packet.h"
/*
...
...
@@ -40,6 +42,7 @@
* bitstream.
*/
struct
AVCodecContext
;
struct
CodedBitstreamType
;
/**
...
...
@@ -271,7 +274,7 @@ int ff_cbs_read_extradata(CodedBitstreamContext *ctx,
*/
int
ff_cbs_read_extradata_from_codec
(
CodedBitstreamContext
*
ctx
,
CodedBitstreamFragment
*
frag
,
const
AVCodecContext
*
avctx
);
const
struct
AVCodecContext
*
avctx
);
/**
* Read the data bitstream from a packet into a fragment, then
...
...
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