Diego Biurrun
7abd35a1ff
avformat: Add av_cold attributes to init functions missing them
12 years ago
Martin Storsjö
c6f1dc8e4c
rtpdec: Move setting the parsing flags to the actual depacketizers
...
This gets rid of almost all the codec specific details from the
generic rtpdec code.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
21f5c24b80
rtpdec_mpeg4: Return one AAC AU per AVPacket
...
This makes the returned data valid to stream copy into other
containers as well, not only for decoding straight away.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
a7ba324413
rtpdec_mpeg4: Check the remaining amount of data before reading
...
This fixes possible buffer overreads.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
977d4a3b8a
rtpdec_mpeg4: Check the return value from malloc
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
90c784cc13
rtpdec: Pass the sequence number to depacketizers
...
This allows depacketizers to figure out if packets have been lost.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
f3f60dcbdd
rtpdec_mpeg4: Cosmetic cleanup
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Janne Grunau
8dd0650fe6
rtpdec_mpeg4: au_headers is a single array, simple av_free is enough
...
Fixes CID700204.
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Martin Storsjö
456001486e
rtsp: Don't expose the MS-RTSP RTX data stream to the caller
...
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>
13 years ago
Diego Biurrun
32f3c541bc
doxygen: Do not include license boilerplates in Doxygen comment blocks.
13 years ago
Diego Biurrun
c88ebdb42c
Eliminate pointless 0/NULL initializers in AVCodec and similar declarations.
13 years ago
Reimar Döffinger
bb3244dee2
Replace all usage of strcasecmp/strncasecmp
...
All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
9261e6cf3f
rtp: Rename the open/close functions to alloc/free
...
This avoids clashes if we internally want to override the global
open function.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Clément Bœsch
437fb1c87d
Remove a few if (p) av_free(p) forms
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Martin Storsjö
311baee795
Make hex_to_data a lavf internal function
...
This is useful for other future RTP depacketizers
Originally committed as revision 24747 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
965a3ddb1f
Remove mostly unnecessary rtpdec_*.h files, store the declarations in one file
...
Originally committed as revision 24596 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
1537817e38
Move SPACE_CHARS back to libavformat/internal.h
...
It will be used by other parts of lavf now. This reverts svn rev 23846.
Originally committed as revision 24265 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
4332bfbff8
Reindent
...
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23852 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
efc6d45196
rtpdec: Clean up FMTP parsing code in MPEG-4/AAC RTP depacketizer
...
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23851 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
8b114d85ba
rtpdec: Move space_chars from avformat/internal to rtpdec
...
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23846 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
c47f567c70
rtpdec_mpeg4: Rename PayloadContext to be consistently 'data'
...
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23773 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
ca937a5508
RTSP, rtpdec: Move RTPPayloadData into rtpdec_mpeg4 and remove all references to rtp_payload_data in rtpdec and rtsp
...
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23772 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
73e6c53e64
rtpdec: Move AAC depacketization code in rtpdec to a proper payload handler
...
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23771 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
7fc8ac7fd8
RTSP: Move more SDP/FMTP stuff from rtsp.c to rtpdec_mpeg4.c
...
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23770 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
9b3788efc3
RTSP: Decouple MPEG-4 and AAC specific parts from rtsp.c
...
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23769 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago