summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-12-07 11:12:28 +0200
committerMartin Storsjö <martin@martin.st>2013-01-22 00:25:38 +0200
commitab587f39b2201238594384ad58a4224233fb315b (patch)
treeeba7ca7b6be760679314d317b5aff84eb463ee4d /libavformat/rtpenc.h
parent9146e872c643fb8f20f9043f1b93a3cddfad15c6 (diff)
rtpenc: Start the sequence numbers from a random offset
Expose the current sequence number via an AVOption - this can be used both for setting the initial sequence number, or for querying the current number. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpenc.h')
-rw-r--r--libavformat/rtpenc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpenc.h b/libavformat/rtpenc.h
index f79734826c..d19b0fd9db 100644
--- a/libavformat/rtpenc.h
+++ b/libavformat/rtpenc.h
@@ -31,7 +31,7 @@ struct RTPMuxContext {
int payload_type;
uint32_t ssrc;
const char *cname;
- uint16_t seq;
+ int seq;
uint32_t timestamp;
uint32_t base_timestamp;
uint32_t cur_timestamp;