summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-02-23 11:54:13 +0200
committerMartin Storsjö <martin@martin.st>2012-02-23 21:32:52 +0200
commitf553462041096d5d2afd9a8841a7af50df5c2540 (patch)
tree620832a282a6fa6d17b9c2a603803f553a905d05 /libavformat/rtpenc.h
parent7337484ed21d068184eff74fcdb14b886553159f (diff)
downloadffmpeg-f553462041096d5d2afd9a8841a7af50df5c2540.tar.gz
rtpenc: Move max_packet_size to a context variable
This is in preparation for exposing this via an avoption. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpenc.h')
-rw-r--r--libavformat/rtpenc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpenc.h b/libavformat/rtpenc.h
index 9ccc8e71fa..2bb2b815c3 100644
--- a/libavformat/rtpenc.h
+++ b/libavformat/rtpenc.h
@@ -34,6 +34,7 @@ struct RTPMuxContext {
uint32_t timestamp;
uint32_t base_timestamp;
uint32_t cur_timestamp;
+ int max_packet_size;
int max_payload_size;
int num_frames;