Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
faa2989e
Commit
faa2989e
authored
Apr 29, 2010
by
Ramiro Polla
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vfwcap: flip RGB rawvideo.
Originally committed as revision 22989 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
707cd944
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
vfwcap.c
libavdevice/vfwcap.c
+7
-1
No files found.
libavdevice/vfwcap.c
View file @
faa2989e
...
@@ -368,8 +368,14 @@ static int vfw_read_header(AVFormatContext *s, AVFormatParameters *ap)
...
@@ -368,8 +368,14 @@ static int vfw_read_header(AVFormatContext *s, AVFormatParameters *ap)
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
;
codec
->
extradata
=
av_malloc
(
9
+
FF_INPUT_BUFFER_PADDING_SIZE
);
if
(
codec
->
extradata
)
{
codec
->
extradata_size
=
9
;
memcpy
(
codec
->
extradata
,
"BottomUp"
,
9
);
}
}
}
}
av_set_pts_info
(
st
,
32
,
1
,
1000
);
av_set_pts_info
(
st
,
32
,
1
,
1000
);
...
...
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