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
c5704b2b
Commit
c5704b2b
authored
Apr 05, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: mark av_pkt_dump(_log) for remove on $next+1 bump.
parent
f35ff97f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
avformat.h
libavformat/avformat.h
+3
-1
utils.c
libavformat/utils.c
+4
-0
version.h
libavformat/version.h
+3
-0
No files found.
libavformat/avformat.h
View file @
c5704b2b
...
@@ -978,7 +978,6 @@ void av_hex_dump_log(void *avcl, int level, uint8_t *buf, int size);
...
@@ -978,7 +978,6 @@ void av_hex_dump_log(void *avcl, int level, uint8_t *buf, int size);
*/
*/
void
av_pkt_dump2
(
FILE
*
f
,
AVPacket
*
pkt
,
int
dump_payload
,
AVStream
*
st
);
void
av_pkt_dump2
(
FILE
*
f
,
AVPacket
*
pkt
,
int
dump_payload
,
AVStream
*
st
);
attribute_deprecated
void
av_pkt_dump
(
FILE
*
f
,
AVPacket
*
pkt
,
int
dump_payload
);
/**
/**
* Send a nice dump of a packet to the log.
* Send a nice dump of a packet to the log.
...
@@ -994,7 +993,10 @@ attribute_deprecated void av_pkt_dump(FILE *f, AVPacket *pkt, int dump_payload);
...
@@ -994,7 +993,10 @@ attribute_deprecated void av_pkt_dump(FILE *f, AVPacket *pkt, int dump_payload);
void
av_pkt_dump_log2
(
void
*
avcl
,
int
level
,
AVPacket
*
pkt
,
int
dump_payload
,
void
av_pkt_dump_log2
(
void
*
avcl
,
int
level
,
AVPacket
*
pkt
,
int
dump_payload
,
AVStream
*
st
);
AVStream
*
st
);
#if FF_API_PKT_DUMP
attribute_deprecated
void
av_pkt_dump
(
FILE
*
f
,
AVPacket
*
pkt
,
int
dump_payload
);
attribute_deprecated
void
av_pkt_dump_log
(
void
*
avcl
,
int
level
,
AVPacket
*
pkt
,
attribute_deprecated
void
av_pkt_dump_log
(
void
*
avcl
,
int
level
,
AVPacket
*
pkt
,
#endif
int
dump_payload
);
int
dump_payload
);
/**
/**
...
...
libavformat/utils.c
View file @
c5704b2b
...
@@ -3545,22 +3545,26 @@ static void pkt_dump_internal(void *avcl, FILE *f, int level, AVPacket *pkt, int
...
@@ -3545,22 +3545,26 @@ static void pkt_dump_internal(void *avcl, FILE *f, int level, AVPacket *pkt, int
av_hex_dump
(
f
,
pkt
->
data
,
pkt
->
size
);
av_hex_dump
(
f
,
pkt
->
data
,
pkt
->
size
);
}
}
#if FF_API_PKT_DUMP
void
av_pkt_dump
(
FILE
*
f
,
AVPacket
*
pkt
,
int
dump_payload
)
void
av_pkt_dump
(
FILE
*
f
,
AVPacket
*
pkt
,
int
dump_payload
)
{
{
AVRational
tb
=
{
1
,
AV_TIME_BASE
};
AVRational
tb
=
{
1
,
AV_TIME_BASE
};
pkt_dump_internal
(
NULL
,
f
,
0
,
pkt
,
dump_payload
,
tb
);
pkt_dump_internal
(
NULL
,
f
,
0
,
pkt
,
dump_payload
,
tb
);
}
}
#endif
void
av_pkt_dump2
(
FILE
*
f
,
AVPacket
*
pkt
,
int
dump_payload
,
AVStream
*
st
)
void
av_pkt_dump2
(
FILE
*
f
,
AVPacket
*
pkt
,
int
dump_payload
,
AVStream
*
st
)
{
{
pkt_dump_internal
(
NULL
,
f
,
0
,
pkt
,
dump_payload
,
st
->
time_base
);
pkt_dump_internal
(
NULL
,
f
,
0
,
pkt
,
dump_payload
,
st
->
time_base
);
}
}
#if FF_API_PKT_DUMP
void
av_pkt_dump_log
(
void
*
avcl
,
int
level
,
AVPacket
*
pkt
,
int
dump_payload
)
void
av_pkt_dump_log
(
void
*
avcl
,
int
level
,
AVPacket
*
pkt
,
int
dump_payload
)
{
{
AVRational
tb
=
{
1
,
AV_TIME_BASE
};
AVRational
tb
=
{
1
,
AV_TIME_BASE
};
pkt_dump_internal
(
avcl
,
NULL
,
level
,
pkt
,
dump_payload
,
tb
);
pkt_dump_internal
(
avcl
,
NULL
,
level
,
pkt
,
dump_payload
,
tb
);
}
}
#endif
void
av_pkt_dump_log2
(
void
*
avcl
,
int
level
,
AVPacket
*
pkt
,
int
dump_payload
,
void
av_pkt_dump_log2
(
void
*
avcl
,
int
level
,
AVPacket
*
pkt
,
int
dump_payload
,
AVStream
*
st
)
AVStream
*
st
)
...
...
libavformat/version.h
View file @
c5704b2b
...
@@ -101,5 +101,8 @@
...
@@ -101,5 +101,8 @@
#ifndef FF_API_FIND_INFO_TAG
#ifndef FF_API_FIND_INFO_TAG
#define FF_API_FIND_INFO_TAG (LIBAVFORMAT_VERSION_MAJOR < 54)
#define FF_API_FIND_INFO_TAG (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#endif
#ifndef FF_API_PKT_DUMP
#define FF_API_PKT_DUMP (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#endif //AVFORMAT_VERSION_H
#endif //AVFORMAT_VERSION_H
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