Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
f687f8e0
Unverified
Commit
f687f8e0
authored
Jul 17, 2021
by
Zane van Iperen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/argo: use bits_per_coded_sample instead of bits_per_raw_sample
Signed-off-by:
Zane van Iperen
<
zane@zanevaniperen.com
>
parent
55801421
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
argo.c
libavcodec/argo.c
+2
-2
version.h
libavcodec/version.h
+1
-1
No files found.
libavcodec/argo.c
View file @
f687f8e0
...
...
@@ -676,12 +676,12 @@ static av_cold int decode_init(AVCodecContext *avctx)
{
ArgoContext
*
s
=
avctx
->
priv_data
;
switch
(
avctx
->
bits_per_
raw
_sample
)
{
switch
(
avctx
->
bits_per_
coded
_sample
)
{
case
8
:
s
->
bpp
=
1
;
avctx
->
pix_fmt
=
AV_PIX_FMT_PAL8
;
break
;
case
24
:
s
->
bpp
=
4
;
avctx
->
pix_fmt
=
AV_PIX_FMT_BGR0
;
break
;
default:
avpriv_request_sample
(
s
,
"depth == %u"
,
avctx
->
bits_per_
raw
_sample
);
default:
avpriv_request_sample
(
s
,
"depth == %u"
,
avctx
->
bits_per_
coded
_sample
);
return
AVERROR_PATCHWELCOME
;
}
...
...
libavcodec/version.h
View file @
f687f8e0
...
...
@@ -29,7 +29,7 @@
#define LIBAVCODEC_VERSION_MAJOR 59
#define LIBAVCODEC_VERSION_MINOR 3
#define LIBAVCODEC_VERSION_MICRO 10
1
#define LIBAVCODEC_VERSION_MICRO 10
2
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
...
...
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