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
155b0f00
Commit
155b0f00
authored
15 years ago
by
Ramiro Polla
Browse files
Options
Downloads
Patches
Plain Diff
vfwcap: Indent.
Originally committed as revision 19545 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
1c0b9215
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
libavdevice/vfwcap.c
+8
-9
8 additions, 9 deletions
libavdevice/vfwcap.c
with
8 additions
and
9 deletions
libavdevice/vfwcap.c
+
8
−
9
View file @
155b0f00
...
@@ -332,17 +332,16 @@ static int vfw_read_header(AVFormatContext *s, AVFormatParameters *ap)
...
@@ -332,17 +332,16 @@ static int vfw_read_header(AVFormatContext *s, AVFormatParameters *ap)
if
(
codec
->
pix_fmt
==
PIX_FMT_NONE
)
{
if
(
codec
->
pix_fmt
==
PIX_FMT_NONE
)
{
codec
->
codec_id
=
vfw_codecid
(
biCompression
);
codec
->
codec_id
=
vfw_codecid
(
biCompression
);
if
(
codec
->
codec_id
==
CODEC_ID_NONE
)
{
if
(
codec
->
codec_id
==
CODEC_ID_NONE
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Unknown compression type. "
av_log
(
s
,
AV_LOG_ERROR
,
"Unknown compression type. "
"Please report verbose (-v 9) debug information.
\n
"
);
"Please report verbose (-v 9) debug information.
\n
"
);
vfw_read_close
(
s
);
vfw_read_close
(
s
);
return
AVERROR_PATCHWELCOME
;
return
AVERROR_PATCHWELCOME
;
}
}
codec
->
bits_per_coded_sample
=
biBitCount
;
codec
->
bits_per_coded_sample
=
biBitCount
;
}
}
else
{
else
{
codec
->
codec_id
=
CODEC_ID_RAWVIDEO
;
codec
->
codec_id
=
CODEC_ID_RAWVIDEO
;
if
(
biCompression
==
BI_RGB
)
if
(
biCompression
==
BI_RGB
)
codec
->
bits_per_coded_sample
=
biBitCount
;
codec
->
bits_per_coded_sample
=
biBitCount
;
}
}
av_set_pts_info
(
st
,
32
,
1
,
1000
);
av_set_pts_info
(
st
,
32
,
1
,
1000
);
...
...
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