summaryrefslogtreecommitdiff
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-01-31 13:19:50 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-01-31 13:19:50 +0000
commit899e19f1776c607c126b291a7e0a614782f18f42 (patch)
tree50792a530d56f35fff93eab04e03c2b8a6b8ad95 /libavcodec/libx264.c
parent9938697c1c119a675759029ead74b91c529cdf2e (diff)
parent936f0d98f864f9f6bb4f9e5458b78537e146bacd (diff)
Merge commit '936f0d98f864f9f6bb4f9e5458b78537e146bacd'
* commit '936f0d98f864f9f6bb4f9e5458b78537e146bacd': lavc: Move rtp_payload_size to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r--libavcodec/libx264.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 07756d0278..5030d65f79 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -675,16 +675,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
if (x4->slice_max_size >= 0)
x4->params.i_slice_max_size = x4->slice_max_size;
- else {
- /*
- * Allow x264 to be instructed through AVCodecContext about the maximum
- * size of the RTP payload. For example, this enables the production of
- * payload suitable for the H.264 RTP packetization-mode 0 i.e. single
- * NAL unit per RTP packet.
- */
- if (avctx->rtp_payload_size)
- x4->params.i_slice_max_size = avctx->rtp_payload_size;
- }
if (x4->fastfirstpass)
x264_param_apply_fastfirstpass(&x4->params);