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
30317501
Commit
30317501
authored
Feb 01, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
consts
Originally committed as revision 11705 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6ddaa63c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
h264.c
libavcodec/h264.c
+5
-5
svq3.c
libavcodec/svq3.c
+1
-1
No files found.
libavcodec/h264.c
View file @
30317501
...
...
@@ -1308,7 +1308,7 @@ static inline void write_back_motion(H264Context *h, int mb_type){
* @param dst_length is the number of decoded bytes FIXME here or a decode rbsp tailing?
* @returns decoded bytes, might be src+1 if no escapes
*/
static
uint8_t
*
decode_nal
(
H264Context
*
h
,
uint8_t
*
src
,
int
*
dst_length
,
int
*
consumed
,
int
length
){
static
const
uint8_t
*
decode_nal
(
H264Context
*
h
,
const
uint8_t
*
src
,
int
*
dst_length
,
int
*
consumed
,
int
length
){
int
i
,
si
,
di
;
uint8_t
*
dst
;
int
bufidx
;
...
...
@@ -1375,7 +1375,7 @@ static uint8_t *decode_nal(H264Context *h, uint8_t *src, int *dst_length, int *c
* identifies the exact end of the bitstream
* @return the length of the trailing, or 0 if damaged
*/
static
int
decode_rbsp_trailing
(
H264Context
*
h
,
uint8_t
*
src
){
static
int
decode_rbsp_trailing
(
H264Context
*
h
,
const
uint8_t
*
src
){
int
v
=
*
src
;
int
r
;
...
...
@@ -7361,7 +7361,7 @@ static void execute_decode_slices(H264Context *h, int context_count){
}
static
int
decode_nal_units
(
H264Context
*
h
,
uint8_t
*
buf
,
int
buf_size
){
static
int
decode_nal_units
(
H264Context
*
h
,
const
uint8_t
*
buf
,
int
buf_size
){
MpegEncContext
*
const
s
=
&
h
->
s
;
AVCodecContext
*
const
avctx
=
s
->
avctx
;
int
buf_index
=
0
;
...
...
@@ -7385,7 +7385,7 @@ static int decode_nal_units(H264Context *h, uint8_t *buf, int buf_size){
int
consumed
;
int
dst_length
;
int
bit_length
;
uint8_t
*
ptr
;
const
uint8_t
*
ptr
;
int
i
,
nalsize
=
0
;
int
err
;
...
...
@@ -7563,7 +7563,7 @@ static int get_consumed_bytes(MpegEncContext *s, int pos, int buf_size){
static
int
decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
const
uint8_t
*
buf
,
int
buf_size
)
{
H264Context
*
h
=
avctx
->
priv_data
;
MpegEncContext
*
s
=
&
h
->
s
;
...
...
libavcodec/svq3.c
View file @
30317501
...
...
@@ -760,7 +760,7 @@ static int svq3_decode_slice_header (H264Context *h) {
static
int
svq3_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
{
const
uint8_t
*
buf
,
int
buf_size
)
{
MpegEncContext
*
const
s
=
avctx
->
priv_data
;
H264Context
*
const
h
=
avctx
->
priv_data
;
int
m
,
mb_type
;
...
...
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