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
af62b427
Commit
af62b427
authored
10 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
avcodec/h264: fix () in macros
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
97e6b5ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/h264.h
+8
-8
8 additions, 8 deletions
libavcodec/h264.h
with
8 additions
and
8 deletions
libavcodec/h264.h
+
8
−
8
View file @
af62b427
...
@@ -67,10 +67,10 @@
...
@@ -67,10 +67,10 @@
#define MAX_SLICES 16
#define MAX_SLICES 16
#ifdef ALLOW_INTERLACE
#ifdef ALLOW_INTERLACE
#define MB_MBAFF(h)
h
->mb_mbaff
#define MB_MBAFF(h)
(h)
->mb_mbaff
#define MB_FIELD(h)
h
->mb_field_decoding_flag
#define MB_FIELD(h)
(h)
->mb_field_decoding_flag
#define FRAME_MBAFF(h)
h
->mb_aff_frame
#define FRAME_MBAFF(h)
(h)
->mb_aff_frame
#define FIELD_PICTURE(h) (
h
->picture_structure != PICT_FRAME)
#define FIELD_PICTURE(h) (
(h)
->picture_structure != PICT_FRAME)
#define LEFT_MBS 2
#define LEFT_MBS 2
#define LTOP 0
#define LTOP 0
#define LBOT 1
#define LBOT 1
...
@@ -90,12 +90,12 @@
...
@@ -90,12 +90,12 @@
#define FIELD_OR_MBAFF_PICTURE(h) (FRAME_MBAFF(h) || FIELD_PICTURE(h))
#define FIELD_OR_MBAFF_PICTURE(h) (FRAME_MBAFF(h) || FIELD_PICTURE(h))
#ifndef CABAC
#ifndef CABAC
#define CABAC(h)
h
->pps.cabac
#define CABAC(h)
(h)
->pps.cabac
#endif
#endif
#define CHROMA(h) (
h
->sps.chroma_format_idc)
#define CHROMA(h) (
(h)
->sps.chroma_format_idc)
#define CHROMA422(h) (
h
->sps.chroma_format_idc == 2)
#define CHROMA422(h) (
(h)
->sps.chroma_format_idc == 2)
#define CHROMA444(h) (
h
->sps.chroma_format_idc == 3)
#define CHROMA444(h) (
(h)
->sps.chroma_format_idc == 3)
#define EXTENDED_SAR 255
#define EXTENDED_SAR 255
...
...
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