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
095f08d5
Commit
095f08d5
authored
Feb 01, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some const
Originally committed as revision 11758 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
4bae195f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
dv.c
libavcodec/dv.c
+2
-2
dvdata.h
libavcodec/dvdata.h
+1
-1
No files found.
libavcodec/dv.c
View file @
095f08d5
...
...
@@ -363,7 +363,7 @@ static inline void bit_copy(PutBitContext *pb, GetBitContext *gb)
/* mb_x and mb_y are in units of 8 pixels */
static
inline
void
dv_decode_video_segment
(
DVVideoContext
*
s
,
uint8_t
*
buf_ptr1
,
const
uint8_t
*
buf_ptr1
,
const
uint16_t
*
mb_pos_ptr
)
{
int
quant
,
dc
,
dct_mode
,
class1
,
j
;
...
...
@@ -372,7 +372,7 @@ static inline void dv_decode_video_segment(DVVideoContext *s,
int
c_offset
;
uint8_t
*
y_ptr
;
void
(
*
idct_put
)(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
);
uint8_t
*
buf_ptr
;
const
uint8_t
*
buf_ptr
;
PutBitContext
pb
,
vs_pb
;
GetBitContext
gb
;
BlockInfo
mb_data
[
5
*
6
],
*
mb
,
*
mb1
;
...
...
libavcodec/dvdata.h
View file @
095f08d5
...
...
@@ -2661,7 +2661,7 @@ enum dv_pack_type {
/* largest possible DV frame, in bytes (PAL 50Mbps) */
#define DV_MAX_FRAME_SIZE 288000
static
inline
const
DVprofile
*
dv_frame_profile
(
uint8_t
*
frame
)
static
inline
const
DVprofile
*
dv_frame_profile
(
const
uint8_t
*
frame
)
{
if
((
frame
[
3
]
&
0x80
)
==
0
)
{
/* DSF flag */
/* it's an NTSC format */
...
...
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