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
494c56d3
Commit
494c56d3
authored
Mar 04, 2004
by
Ivan Kalvachev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
silence warnings
Originally committed as revision 2843 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
399cec2f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
avcodec.h
libavcodec/avcodec.h
+1
-1
mpeg12.c
libavcodec/mpeg12.c
+1
-1
utils.c
libavcodec/utils.c
+1
-1
No files found.
libavcodec/avcodec.h
View file @
494c56d3
...
...
@@ -1292,7 +1292,7 @@ typedef struct AVCodecContext {
* - encoding: unused
* - decoding: set by user, if not set then the native format will always be choosen
*/
enum
PixelFormat
(
*
get_format
)(
struct
AVCodecContext
*
s
,
enum
PixelFormat
*
fmt
);
enum
PixelFormat
(
*
get_format
)(
struct
AVCodecContext
*
s
,
const
enum
PixelFormat
*
fmt
);
/**
* DTG active format information (additionnal aspect ratio
...
...
libavcodec/mpeg12.c
View file @
494c56d3
...
...
@@ -1306,7 +1306,7 @@ static int mpeg_decode_mb(MpegEncContext *s,
if
(
HAS_CBP
(
mb_type
))
{
cbp
=
get_vlc2
(
&
s
->
gb
,
mb_pat_vlc
.
table
,
MB_PAT_VLC_BITS
,
1
);
if
(
cbp
<
0
||
(
cbp
==
0
)
&&
(
s
->
chroma_format
<
2
)
){
if
(
cbp
<
0
||
(
(
cbp
==
0
)
&&
(
s
->
chroma_format
<
2
)
)
){
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"invalid cbp at %d %d
\n
"
,
s
->
mb_x
,
s
->
mb_y
);
return
-
1
;
}
...
...
libavcodec/utils.c
View file @
494c56d3
...
...
@@ -338,7 +338,7 @@ int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, v
return
0
;
}
enum
PixelFormat
avcodec_default_get_format
(
struct
AVCodecContext
*
s
,
enum
PixelFormat
*
fmt
){
enum
PixelFormat
avcodec_default_get_format
(
struct
AVCodecContext
*
s
,
const
enum
PixelFormat
*
fmt
){
return
fmt
[
0
];
}
...
...
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