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
f52901b3
Commit
f52901b3
authored
Feb 04, 2009
by
Roman Shaposhnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to compute stype
Originally committed as revision 16988 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
034fcddf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
dv.c
libavcodec/dv.c
+1
-2
No files found.
libavcodec/dv.c
View file @
f52901b3
...
...
@@ -1183,7 +1183,6 @@ static inline int dv_write_pack(enum dv_pack_type pack_id, DVVideoContext *c,
* compression scheme (if any).
*/
int
apt
=
(
c
->
sys
->
pix_fmt
==
PIX_FMT_YUV420P
?
0
:
1
);
int
stype
=
(
c
->
sys
->
pix_fmt
==
PIX_FMT_YUV422P
?
4
:
0
);
uint8_t
aspect
=
0
;
if
((
int
)(
av_q2d
(
c
->
avctx
->
sample_aspect_ratio
)
*
c
->
avctx
->
width
/
c
->
avctx
->
height
*
10
)
>=
17
)
/* 16:9 */
...
...
@@ -1213,7 +1212,7 @@ static inline int dv_write_pack(enum dv_pack_type pack_id, DVVideoContext *c,
0xf
;
/* reserved -- always 1 */
buf
[
3
]
=
(
3
<<
6
)
|
/* reserved -- always 1 */
(
c
->
sys
->
dsf
<<
5
)
|
/* system: 60fields/50fields */
stype
;
/* signal type video compression */
c
->
sys
->
video_stype
;
/* signal type video compression */
buf
[
4
]
=
0xff
;
/* VISC: 0xff -- no information */
break
;
case
dv_video_control
:
...
...
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