Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
494c56d3
Commit
494c56d3
authored
21 years ago
by
Ivan Kalvachev
Browse files
Options
Downloads
Patches
Plain Diff
silence warnings
Originally committed as revision 2843 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
399cec2f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libavcodec/avcodec.h
+1
-1
1 addition, 1 deletion
libavcodec/avcodec.h
libavcodec/mpeg12.c
+1
-1
1 addition, 1 deletion
libavcodec/mpeg12.c
libavcodec/utils.c
+1
-1
1 addition, 1 deletion
libavcodec/utils.c
with
3 additions
and
3 deletions
libavcodec/avcodec.h
+
1
−
1
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
...
...
This diff is collapsed.
Click to expand it.
libavcodec/mpeg12.c
+
1
−
1
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
;
}
...
...
This diff is collapsed.
Click to expand it.
libavcodec/utils.c
+
1
−
1
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
];
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment