projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c77a53
)
movenc: Use defines instead of hardcoded numbers for RTCP types
author
Martin Storsjö
<martin@martin.st>
Tue, 14 Feb 2012 09:10:52 +0000
(11:10 +0200)
committer
Martin Storsjö
<martin@martin.st>
Tue, 14 Feb 2012 10:23:07 +0000
(12:23 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/movenchint.c
patch
|
blob
|
history
diff --git
a/libavformat/movenchint.c
b/libavformat/movenchint.c
index
c2025c0
..
f3eb0f2
100644
(file)
--- a/
libavformat/movenchint.c
+++ b/
libavformat/movenchint.c
@@
-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;