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
2560d3b6
Commit
2560d3b6
authored
Mar 18, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dv: Fix streamcopy input.
Fixes Ticket1042 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
50d67d95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
dvdata.c
libavcodec/dvdata.c
+11
-2
No files found.
libavcodec/dvdata.c
View file @
2560d3b6
...
...
@@ -323,11 +323,20 @@ const DVprofile* avpriv_dv_frame_profile(const DVprofile *sys,
const
DVprofile
*
avpriv_dv_codec_profile
(
AVCodecContext
*
codec
)
{
int
i
;
int
w
,
h
;
if
(
codec
->
coded_width
||
codec
->
coded_height
)
{
w
=
codec
->
coded_width
;
h
=
codec
->
coded_height
;
}
else
{
w
=
codec
->
width
;
h
=
codec
->
height
;
}
for
(
i
=
0
;
i
<
FF_ARRAY_ELEMS
(
dv_profiles
);
i
++
)
if
(
codec
->
coded_height
==
dv_profiles
[
i
].
height
&&
if
(
h
==
dv_profiles
[
i
].
height
&&
codec
->
pix_fmt
==
dv_profiles
[
i
].
pix_fmt
&&
codec
->
coded_width
==
dv_profiles
[
i
].
width
)
w
==
dv_profiles
[
i
].
width
)
return
&
dv_profiles
[
i
];
return
NULL
;
...
...
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