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
df605018
Commit
df605018
authored
Feb 14, 2012
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
movenc: Use defines instead of hardcoded numbers for RTCP types
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
1c77a530
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
movenchint.c
libavformat/movenchint.c
+2
-1
No files found.
libavformat/movenchint.c
View file @
df605018
...
...
@@ -24,6 +24,7 @@
#include "internal.h"
#include "rtpenc_chain.h"
#include "avio_internal.h"
#include "rtp.h"
int
ff_mov_init_hinting
(
AVFormatContext
*
s
,
int
index
,
int
src_index
)
{
...
...
@@ -332,7 +333,7 @@ static int write_hint_packets(AVIOContext *out, const uint8_t *data,
size
-=
4
;
if
(
packet_len
>
size
||
packet_len
<=
12
)
break
;
if
(
data
[
1
]
>=
200
&&
data
[
1
]
<=
204
)
{
if
(
data
[
1
]
>=
RTCP_SR
&&
data
[
1
]
<=
RTCP_APP
)
{
/* RTCP packet, just skip */
data
+=
packet_len
;
size
-=
packet_len
;
...
...
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