Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
2361e59b
Commit
2361e59b
authored
Oct 17, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: use avpriv_ prefix for ff_dirac_parse_sequence_header.
It's used in lavf.
parent
242c73a0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
dirac.c
libavcodec/dirac.c
+1
-1
dirac.h
libavcodec/dirac.h
+2
-2
oggparsedirac.c
libavformat/oggparsedirac.c
+1
-1
No files found.
libavcodec/dirac.c
View file @
2361e59b
...
@@ -242,7 +242,7 @@ static int parse_source_parameters(AVCodecContext *avctx, GetBitContext *gb,
...
@@ -242,7 +242,7 @@ static int parse_source_parameters(AVCodecContext *avctx, GetBitContext *gb,
return
0
;
return
0
;
}
}
int
ff
_dirac_parse_sequence_header
(
AVCodecContext
*
avctx
,
GetBitContext
*
gb
,
int
avpriv
_dirac_parse_sequence_header
(
AVCodecContext
*
avctx
,
GetBitContext
*
gb
,
dirac_source_params
*
source
)
dirac_source_params
*
source
)
{
{
unsigned
version_major
;
unsigned
version_major
;
...
...
libavcodec/dirac.h
View file @
2361e59b
...
@@ -51,7 +51,7 @@ typedef struct {
...
@@ -51,7 +51,7 @@ typedef struct {
uint8_t
color_spec_index
;
///< index into dirac_color_spec_presets[]
uint8_t
color_spec_index
;
///< index into dirac_color_spec_presets[]
}
dirac_source_params
;
}
dirac_source_params
;
int
ff
_dirac_parse_sequence_header
(
AVCodecContext
*
avctx
,
GetBitContext
*
gb
,
int
avpriv
_dirac_parse_sequence_header
(
AVCodecContext
*
avctx
,
GetBitContext
*
gb
,
dirac_source_params
*
source
);
dirac_source_params
*
source
);
#endif
/* AVCODEC_DIRAC_H */
#endif
/* AVCODEC_DIRAC_H */
libavformat/oggparsedirac.c
View file @
2361e59b
...
@@ -36,7 +36,7 @@ static int dirac_header(AVFormatContext *s, int idx)
...
@@ -36,7 +36,7 @@ static int dirac_header(AVFormatContext *s, int idx)
return
0
;
return
0
;
init_get_bits
(
&
gb
,
os
->
buf
+
os
->
pstart
+
13
,
(
os
->
psize
-
13
)
*
8
);
init_get_bits
(
&
gb
,
os
->
buf
+
os
->
pstart
+
13
,
(
os
->
psize
-
13
)
*
8
);
if
(
ff
_dirac_parse_sequence_header
(
st
->
codec
,
&
gb
,
&
source
)
<
0
)
if
(
avpriv
_dirac_parse_sequence_header
(
st
->
codec
,
&
gb
,
&
source
)
<
0
)
return
-
1
;
return
-
1
;
st
->
codec
->
codec_type
=
AVMEDIA_TYPE_VIDEO
;
st
->
codec
->
codec_type
=
AVMEDIA_TYPE_VIDEO
;
...
...
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