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
361319d0
Commit
361319d0
authored
Mar 14, 2013
by
ArnoB
Committed by
Michael Niedermayer
Mar 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dpxenc: fix data offset
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b90912be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
dpxenc.c
libavcodec/dpxenc.c
+1
-0
dpx
tests/ref/lavf/dpx
+3
-3
No files found.
libavcodec/dpxenc.c
View file @
361319d0
...
...
@@ -212,6 +212,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
buf
[
803
]
=
s
->
bits_per_component
;
write16
(
buf
+
804
,
(
s
->
bits_per_component
==
10
||
s
->
bits_per_component
==
12
)
?
1
:
0
);
/* packing method */
write32
(
buf
+
808
,
HEADER_SIZE
);
/* data offset */
/* Image source information header */
write32
(
buf
+
1628
,
avctx
->
sample_aspect_ratio
.
num
);
...
...
tests/ref/lavf/dpx
View file @
361319d0
808ea110635774252439722a48329d61
*./tests/data/images/dpx/02.dpx
d2f0b4e854fda2d3b3bee84cef80593c
*./tests/data/images/dpx/02.dpx
./tests/data/images/dpx/%02d.dpx CRC=0x6da01946
305792 ./tests/data/images/dpx/02.dpx
5e1a777fa3f4094c9c4dd989cf9e8e8b
*./tests/data/images/dpx/02.dpx
075963c3c08978b6a20555ba09161434
*./tests/data/images/dpx/02.dpx
./tests/data/images/dpx/%02d.dpx CRC=0xe5b9c023
609920 ./tests/data/images/dpx/02.dpx
13dc41b1e1e36399a5e1f8b7e3344a81
*./tests/data/images/dpx/02.dpx
b9f22728f8ff393bf30cf6cbd624fa95
*./tests/data/images/dpx/02.dpx
./tests/data/images/dpx/%02d.dpx CRC=0xb6310a70
407168 ./tests/data/images/dpx/02.dpx
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