[FFmpeg-devel] [PATCH] Added the RTP Header Extension to AVPacket side data

Anna Sokol annasokol at gmail.com
Fri May 19 20:35:43 EEST 2017


Added a way to store the RFC 3550 Section 5.3.1 RTP Header Extension in
side data of AVPacket.
- In libavcodec/avcodec.h AVPacketSideDataType added
AV_PKT_DATA_RTP_HEADER_EXTENSION.
- In libavcodec/avpacket.c av_packet_side_data_name added a case for the
AV_PKT_DATA_RTP_HEADER_EXTENSION.
- In libavformat/rtpdec.c rtp_parse_packet_internal store the previously
skipped RTP Header Extension
 as side data in new packet.
The patch is attached.
Signed-off-by: Anna Sokol <annasokol at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtp_header_extension.patch
Type: application/octet-stream
Size: 3172 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170519/149ffe8b/attachment.obj>


More information about the ffmpeg-devel mailing list