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
8214c1d8
Commit
8214c1d8
authored
Jan 04, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mxfenc: avoid depending on private codec structures and functions
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
3db02b83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
mxfenc.c
libavformat/mxfenc.c
+2
-3
No files found.
libavformat/mxfenc.c
View file @
8214c1d8
...
...
@@ -1401,7 +1401,7 @@ AVPacket *pkt)
MXFStreamContext
*
sc
=
st
->
priv_data
;
int
i
,
cid
;
uint8_t
*
header_cid
;
unsigned
int
frame_size
=
0
;
int
frame_size
=
0
;
if
(
mxf
->
header_written
)
return
1
;
...
...
@@ -1412,7 +1412,7 @@ AVPacket *pkt)
header_cid
=
pkt
->
data
+
0x28
;
cid
=
header_cid
[
0
]
<<
24
|
header_cid
[
1
]
<<
16
|
header_cid
[
2
]
<<
8
|
header_cid
[
3
];
if
((
i
=
ff_dnxhd_get_cid_tabl
e
(
cid
))
<
0
)
if
((
frame_size
=
avpriv_dnxhd_get_frame_siz
e
(
cid
))
<
0
)
return
-
1
;
switch
(
cid
)
{
...
...
@@ -1453,7 +1453,6 @@ AVPacket *pkt)
return
-
1
;
}
frame_size
=
ff_dnxhd_cid_table
[
i
].
frame_size
;
sc
->
codec_ul
=
&
mxf_essence_container_uls
[
sc
->
index
].
codec_ul
;
sc
->
aspect_ratio
=
(
AVRational
){
16
,
9
};
...
...
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