summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_h264.c
Commit message (Collapse)AuthorAge
* rtpdec: pass an AVFormatContext to ff_parse_fmtp()Anton Khirnov2014-07-09
| | | | Use it for logging, instead of NULL or the stream codec context.
* rtpdec_h264: Check the return value of functions doing allocationsMichael Niedermayer2013-12-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-05
|
* rtpdec: Move setting the parsing flags to the actual depacketizersMartin Storsjö2013-01-20
| | | | | | | This gets rid of almost all the codec specific details from the generic rtpdec code. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Pass the sequence number to depacketizersMartin Storsjö2012-12-21
| | | | | | This allows depacketizers to figure out if packets have been lost. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Don't set the pixel formatSamuel Pitoiset2012-08-28
| | | | | | | There is no need for this depacketizer to set the pixel format, the decoder can do that just fine. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Remove an unused includeMartin Storsjö2012-08-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* lavf: remove unnecessary inclusions of unistd.hMans Rullgard2012-06-20
| | | | | | 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-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Free old extradata before clearing the pointerMartin Storsjö2012-05-05
| | | | | | | 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-05
| | | | | | 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-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Cleanup debug packet type countingMartin Storsjö2012-05-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Cosmetic cleanupMartin Storsjö2012-05-05
| | | | | | | 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-05
| | | | | | | | | 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-05
| | | | | | | 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-05
| | | | | | 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-05
| | | | | | | 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-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Return proper error codesMartin Storsjö2012-05-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Check the available data length before readingMartin Storsjö2012-05-05
| | | | | | 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-05
| | | | | | 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-08
| | | | | | | | 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-13
| | | | | | | | 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-24
| | | | | | | 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-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtpdec_h264: Pass NAL type 0 throughMartin Storsjö2010-12-06
| | | | | | | | 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-30
| | | | Originally committed as revision 24596 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle av_base64_decode return valueLuca Barbato2010-07-11
| | | | | | 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-28
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23850 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentJosh Allmann2010-06-28
| | | | | | 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-28
| | | | | | 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-03
| | | | Originally committed as revision 23440 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | 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-03
| | | | | | 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-28
Originally committed as revision 22109 to svn://svn.ffmpeg.org/ffmpeg/trunk