Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
d8b3576d
Commit
d8b3576d
authored
18 years ago
by
Baptiste Coudurier
Browse files
Options
Downloads
Patches
Plain Diff
remove useless essence container data sets for now
Originally committed as revision 7516 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
8b621afb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavformat/mxf.c
+0
-11
0 additions, 11 deletions
libavformat/mxf.c
with
0 additions
and
11 deletions
libavformat/mxf.c
+
0
−
11
View file @
d8b3576d
...
@@ -133,8 +133,6 @@ typedef struct {
...
@@ -133,8 +133,6 @@ typedef struct {
typedef
struct
MXFContext
{
typedef
struct
MXFContext
{
UID
*
packages_refs
;
UID
*
packages_refs
;
int
packages_count
;
int
packages_count
;
UID
*
essence_container_data_sets_refs
;
int
essence_container_data_sets_count
;
MXFMetadataSet
**
metadata_sets
;
MXFMetadataSet
**
metadata_sets
;
int
metadata_sets_count
;
int
metadata_sets_count
;
const
uint8_t
*
sync_key
;
const
uint8_t
*
sync_key
;
...
@@ -307,14 +305,6 @@ static int mxf_read_metadata_content_storage(MXFContext *mxf, ByteIOContext *pb,
...
@@ -307,14 +305,6 @@ static int mxf_read_metadata_content_storage(MXFContext *mxf, ByteIOContext *pb,
url_fskip
(
pb
,
4
);
/* useless size of objects, always 16 according to specs */
url_fskip
(
pb
,
4
);
/* useless size of objects, always 16 according to specs */
get_buffer
(
pb
,
(
uint8_t
*
)
mxf
->
packages_refs
,
mxf
->
packages_count
*
sizeof
(
UID
));
get_buffer
(
pb
,
(
uint8_t
*
)
mxf
->
packages_refs
,
mxf
->
packages_count
*
sizeof
(
UID
));
break
;
break
;
case
0x1902
:
mxf
->
essence_container_data_sets_count
=
get_be32
(
pb
);
if
(
mxf
->
essence_container_data_sets_count
>=
UINT_MAX
/
sizeof
(
UID
))
return
-
1
;
mxf
->
essence_container_data_sets_refs
=
av_malloc
(
mxf
->
essence_container_data_sets_count
*
sizeof
(
UID
));
url_fskip
(
pb
,
4
);
/* useless size of objects, always 16 according to specs */
get_buffer
(
pb
,
(
uint8_t
*
)
mxf
->
essence_container_data_sets_refs
,
mxf
->
essence_container_data_sets_count
*
sizeof
(
UID
));
break
;
}
}
return
0
;
return
0
;
}
}
...
@@ -860,7 +850,6 @@ static int mxf_read_close(AVFormatContext *s)
...
@@ -860,7 +850,6 @@ static int mxf_read_close(AVFormatContext *s)
int
i
;
int
i
;
av_freep
(
&
mxf
->
packages_refs
);
av_freep
(
&
mxf
->
packages_refs
);
av_freep
(
&
mxf
->
essence_container_data_sets_refs
);
for
(
i
=
0
;
i
<
mxf
->
metadata_sets_count
;
i
++
)
{
for
(
i
=
0
;
i
<
mxf
->
metadata_sets_count
;
i
++
)
{
switch
(
mxf
->
metadata_sets
[
i
]
->
type
)
{
switch
(
mxf
->
metadata_sets
[
i
]
->
type
)
{
case
MultipleDescriptor
:
case
MultipleDescriptor
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment