diff options
author | Martin Storsjö <martin@martin.st> | 2012-12-07 11:12:28 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-22 00:25:38 +0200 |
commit | ab587f39b2201238594384ad58a4224233fb315b (patch) | |
tree | eba7ca7b6be760679314d317b5aff84eb463ee4d /libavformat/rtpenc.h | |
parent | 9146e872c643fb8f20f9043f1b93a3cddfad15c6 (diff) | |
download | ffmpeg-ab587f39b2201238594384ad58a4224233fb315b.tar.gz |
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.h | 2 |
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; |