summaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec_h264.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-2/+2
|
* lavf: remove unnecessary inclusions of unistd.hMans Rullgard2012-06-201-1/+0
| | | | | | These files do not use anything provided by unistd.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtpdec_h264: Add missing newlines to av_log callsMartin Storsjö2012-05-051-4/+4
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Free old extradata before clearing the pointerMartin Storsjö2012-05-051-1/+1
| | | | | | | This avoids memory leaks if there actually was some extradata set before. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Reorder code blocksMartin Storsjö2012-05-051-16/+15
| | | | | | This removes one level of indentation. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Make start_sequence a static const arrayMartin Storsjö2012-05-051-2/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Cleanup debug packet type countingMartin Storsjö2012-05-051-9/+9
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Cosmetic cleanupMartin Storsjö2012-05-051-66/+71
| | | | | | | Add/fix spacing, split long lines, align assignments where suitable. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Clean up commentsMartin Storsjö2012-05-051-22/+29
| | | | | | | | | Split long comments, move long comments at the end of lines to separate lines above, fix vertical alignment, fix up comment style (unify trailing dots - comments had a mix of 2, 3 or 4 dots, where it would be just as good without them at all). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Convert commented out code into setting an unused variableMartin Storsjö2012-05-051-1/+1
| | | | | | | It is worth keeping instead of removing, in case reading this bit becomes necessary at some later point. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Remove a useless ifdefMartin Storsjö2012-05-051-2/+0
| | | | | | assert is a no-op if DEBUG isn't defined. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Remove outdated/useless/incorrect commentsMartin Storsjö2012-05-051-21/+7
| | | | | | | RTCP is handled elsewhere, not in the depacketizer for an individual format. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Remove useless memory corruption checksMartin Storsjö2012-05-051-23/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Return proper error codesMartin Storsjö2012-05-051-2/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Check the available data length before readingMartin Storsjö2012-05-051-2/+2
| | | | | | This makes sure the length is checked for STAP-A type packets. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Add input size checksIvan Kovtunov2012-05-051-3/+13
| | | | | | This fixes crashes if given too short data packets. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Don't expose the MS-RTSP RTX data stream to the callerMartin Storsjö2012-04-081-2/+7
| | | | | | | | This avoids exposing a dummy AVStream which won't get any data and which will make avformat_find_stream_info wait for info about this stream. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Use 4 byte startcodes for H.264Matthew Szatmary2012-02-131-2/+2
| | | | | | | | If muxing into mpegts, 4 byte startcodes for the first NAL of an access unit is required. Thus it is simplest for the RTP depacketizer to just use 4 byte startcodes everywhere. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtp: Rename the open/close functions to alloc/freeMartin Storsjö2011-04-241-2/+2
| | | | | | | This avoids clashes if we internally want to override the global open function. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtpdec_h264: Pass NAL type 0 throughMartin Storsjö2010-12-061-4/+1
| | | | | | | | According to the spec, this type shouldn't ever be used. Nevertheless, passing it through enables decoding streams which otherwise aren't decodeable. Originally committed as revision 25897 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove mostly unnecessary rtpdec_*.h files, store the declarations in one fileMartin Storsjö2010-07-301-1/+1
| | | | Originally committed as revision 24596 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle av_base64_decode return valueLuca Barbato2010-07-111-2/+2
| | | | | | garbled sdp would cause crash otherwise. Originally committed as revision 24191 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Clean up FMTP parsing code in H.264 RTP depacketizerJosh Allmann2010-06-281-14/+1
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23850 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentJosh Allmann2010-06-281-2/+2
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23849 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Return ENOMEM if H.264 RTP fails to allocate memory for SDP extradataJosh Allmann2010-06-281-1/+3
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23848 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove stray and possibly wrong line, rtpdec.c sets that alreadyLuca Barbato2010-06-031-2/+0
| | | | Originally committed as revision 23440 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-1/+1
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Properly pad H.264 extradata when taken from fmtp SDP attributesMartin Storsjö2010-03-031-1/+5
| | | | | | This fixes some valgrind warnings. Originally committed as revision 22182 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename RTP depacketizer files from rtp_* to rtpdec_*Martin Storsjö2010-02-281-0/+416
Originally committed as revision 22109 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud