summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc_h264.c
Commit message (Collapse)AuthorAge
* rtpenc: Merge the h264 and hevc packetizersMartin Storsjö2015-02-24
| | | | | | | | | | | They share a great deal of common structure; only a few minor bits in the headers differ. This also fixes an off-by-one in sending of the last fragment of large HEVC nals (where it previously sent len+2 bytes, even if it should have been len+RTP_HEVC_HEADERS_SIZE aka len+3). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc_h264: Aggregate multiple NAL units into one RTP packet, if possibleMartin Storsjö2015-02-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Move avc mp4 startcode parsing to a shared fileMartin Storsjö2014-09-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: fix overflow checking in avc_mp4_find_startcode()Xi Wang2013-01-23
| | | | | | | | | | | | The check `start + res < start' is broken since pointer overflow is undefined behavior in C. Many compilers such as gcc/clang optimize away this check. Use `res > end - start' instead. Also change `res' to unsigned int to avoid signed left-shift overflow. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Allow requesting H264 RTP packetization mode 0Martin Storsjö2012-06-18
| | | | | | | | | This requires all NAL units to fit within single RTP packets. It doesn't change the actual packetization for packets that fit, but errors out and gives a helpful hint if the NAL units would have to be split, and signals the right packetization mode in the SDP. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Add support for mp4 format h264Luca Abeni2011-12-11
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Simplify code by introducing a separate end pointerMartin Storsjö2011-12-11
| | | | | | Also remove redundant parentheses. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix the M bit for multi-packet NALs.Yao Peter2009-05-16
| | | | | | Patch by Yao Peter (peter AT yuvad DOT com) Originally committed as revision 18858 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split rtp.h in rtp.h, rtpdec.h, and rtpenc.hLuca Abeni2009-02-06
| | | | Originally committed as revision 17016 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some const, fixes warnings:Reimar Döffinger2008-02-19
| | | | | | | rtpenc_h264.c:69: warning: assignment discards qualifiers from pointer target type rtpenc_h264.c:74: warning: assignment discards qualifiers from pointer target type Originally committed as revision 12152 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for H.264 video in the RTP muxerLuca Abeni2008-01-21
Originally committed as revision 11589 to svn://svn.ffmpeg.org/ffmpeg/trunk