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
b24aaabd
Commit
b24aaabd
authored
Feb 09, 2012
by
Rafaël Carré
Committed by
Diego Biurrun
Feb 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove ParseContext1
Signed-off-by:
Diego Biurrun
<
diego@biurrun.de
>
parent
797639dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
22 deletions
+0
-22
parser.c
libavcodec/parser.c
+0
-8
parser.h
libavcodec/parser.h
+0
-14
No files found.
libavcodec/parser.c
View file @
b24aaabd
...
...
@@ -289,14 +289,6 @@ void ff_parse_close(AVCodecParserContext *s)
av_freep
(
&
pc
->
buffer
);
}
void
ff_parse1_close
(
AVCodecParserContext
*
s
)
{
ParseContext1
*
pc1
=
s
->
priv_data
;
av_free
(
pc1
->
pc
.
buffer
);
av_free
(
pc1
->
enc
);
}
/*************************/
int
ff_mpeg4video_split
(
AVCodecContext
*
avctx
,
...
...
libavcodec/parser.h
View file @
b24aaabd
...
...
@@ -39,26 +39,12 @@ typedef struct ParseContext{
struct
MpegEncContext
;
typedef
struct
ParseContext1
{
ParseContext
pc
;
/* XXX/FIXME PC1 vs. PC */
/* MPEG-2-specific */
AVRational
frame_rate
;
int
progressive_sequence
;
int
width
,
height
;
/* XXX: suppress that, needed by MPEG-4 */
struct
MpegEncContext
*
enc
;
int
first_picture
;
}
ParseContext1
;
#define END_NOT_FOUND (-100)
int
ff_combine_frame
(
ParseContext
*
pc
,
int
next
,
const
uint8_t
**
buf
,
int
*
buf_size
);
int
ff_mpeg4video_split
(
AVCodecContext
*
avctx
,
const
uint8_t
*
buf
,
int
buf_size
);
void
ff_parse_close
(
AVCodecParserContext
*
s
);
void
ff_parse1_close
(
AVCodecParserContext
*
s
);
/**
* Fetch timestamps for a specific byte within the current access unit.
...
...
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