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
7cdfce4f
Commit
7cdfce4f
authored
13 years ago
by
Clément Bœsch
Browse files
Options
Downloads
Patches
Plain Diff
swr: fix "control reaches end of non-void function" compiler warning.
parent
809631af
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libswresample/swresample_test.c
+1
-1
1 addition, 1 deletion
libswresample/swresample_test.c
with
1 addition
and
1 deletion
libswresample/swresample_test.c
+
1
−
1
View file @
7cdfce4f
...
@@ -44,7 +44,7 @@ static double get(const uint8_t *a[], int ch, int index, int ch_count, enum AVSa
...
@@ -44,7 +44,7 @@ static double get(const uint8_t *a[], int ch, int index, int ch_count, enum AVSa
case
AV_SAMPLE_FMT_S32
:
return
((
const
int32_t
*
)
p
)[
index
]
/
2147483647
.
0
;
case
AV_SAMPLE_FMT_S32
:
return
((
const
int32_t
*
)
p
)[
index
]
/
2147483647
.
0
;
case
AV_SAMPLE_FMT_FLT
:
return
((
const
float
*
)
p
)[
index
];
case
AV_SAMPLE_FMT_FLT
:
return
((
const
float
*
)
p
)[
index
];
case
AV_SAMPLE_FMT_DBL
:
return
((
const
double
*
)
p
)[
index
];
case
AV_SAMPLE_FMT_DBL
:
return
((
const
double
*
)
p
)[
index
];
default:
av_assert
2
(
0
);
default:
av_assert
0
(
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