ffmpeg/libavformat
Martin Storsjö bde2bba45c rtpenc: Restructure if statements in packetizers to simplify adding more conditions
Factorize out the s->num_frames check at the start of the if statements,
simplifying adding more alternative causes for sending the buffered
frames.

Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-28 22:54:26 +02:00
..
4xm.c
Makefile rtpenc: Merge the h264 and hevc packetizers 2015-02-24 16:25:43 +02:00
a64.c a64: Return correct error code on invalid data stream 2014-08-14 01:22:47 -07:00
aacdec.c
ac3dec.c
adtsenc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
adxdec.c
aea.c aea: Return proper error code on invalid header 2015-01-16 10:35:02 +01:00
aiff.h
aiffdec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
aiffenc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
allformats.c lavf: Add DSS demuxer 2015-02-19 12:05:19 -05:00
amr.c
anm.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
apc.c
ape.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
apetag.c ape: Use the proper variable type 2015-02-15 18:20:54 +01:00
apetag.h
asf.c
asf.h
asfcrypt.c
asfcrypt.h
asfdec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
asfenc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
assdec.c assdec: check av_new_packet return value 2014-10-29 16:54:43 +00:00
assenc.c
au.c
audiointerleave.c audiointerleave: check av_new_packet return value 2014-10-24 23:42:53 +01:00
audiointerleave.h
avc.c libavformat: Move avc mp4 startcode parsing to a shared file 2014-09-24 23:33:17 +03:00
avc.h libavformat: Move avc mp4 startcode parsing to a shared file 2014-09-24 23:33:17 +03:00
avformat.h lavf: Document the codec context initialization 2015-02-17 11:27:42 -05:00
avi.h
avidec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
avienc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
avio.c avio: fix sizeof argument 2014-10-20 10:38:38 +01:00
avio.h
avio_internal.h avio: Rename avclass symbols relating to avio 2015-02-28 22:07:04 +02:00
aviobuf.c avio: Rename avclass symbols relating to avio 2015-02-28 22:07:04 +02:00
avisynth.c avisynth: Use RTLD_LOCAL instead of RTLD_GLOBAL 2015-01-03 02:30:03 +02:00
avlanguage.c
avlanguage.h
avs.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
bethsoftvid.c bethsoftvid: simplify return handling 2014-10-29 17:02:27 +00:00
bfi.c
bink.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
bmv.c
c93.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
caf.c
caf.h
cafdec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
cavsvideodec.c
cdg.c
cdxl.c
concat.c concat: K&R formatting cosmetics 2014-09-25 01:44:31 -07:00
crcenc.c
crypto.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
cutils.c lavf: Implement ff_brktimegm using gmtime_r 2014-10-26 00:14:54 +03:00
dashenc.c libavformat: Use ffio_free_dyn_buf where applicable 2015-02-24 23:07:47 +02:00
dauddec.c
daudenc.c
dfa.c
diracdec.c
dnxhddec.c
dsicin.c
dss.c lavf: Add DSS demuxer 2015-02-19 12:05:19 -05:00
dtsdec.c
dump.c dump: Update streams and chapters printout format 2014-10-08 18:17:49 +01:00
dv.c lavf: move internal fields from public to internal context 2015-02-10 21:45:04 +01:00
dv.h
dvenc.c
dxa.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
eacdata.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
electronicarts.c electronicarts: set the framerate for TGQ/TQI 2014-08-22 11:15:20 +00:00
ffmeta.h
ffmetadec.c
ffmetaenc.c
file.c
file_open.c
filmstripdec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
filmstripenc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
flac_picture.c flac_picture: prevent a possible out of bound write 2014-10-24 23:42:53 +01:00
flac_picture.h
flacdec.c lavf: stop using avpriv_flac_parse_streaminfo() 2014-11-06 09:02:25 +01:00
flacenc.c
flacenc.h
flacenc_header.c
flic.c
flv.h
flvdec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
flvenc.c flvenc: Remove an unused variable 2014-11-22 22:10:52 +02:00
format.c avformat: use const char* instead of uint8_t* for AVProbeData.mime_type 2014-10-08 15:13:15 +01:00
framecrcenc.c
framehash.c
g722.c
g723_1.c
gif.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
gopher.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
gsmdec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
gxf.c
gxf.h
gxfenc.c
h261dec.c
h263dec.c
h264dec.c
hdsenc.c Revert "lavf: Don't try to update files atomically with renames on windows" 2014-11-27 09:29:47 +02:00
hevc.c
hevc.h
hevcdec.c
hls.c lavf: Use av_gettime_relative 2014-10-24 09:53:45 +03:00
hlsenc.c hlsenc: write playlist into a temp file and replace the original atomically 2015-02-20 23:55:28 +02:00
hlsproto.c hlsproto: Properly close avio buffer in case of error 2015-01-23 14:55:03 +00:00
hnm.c
http.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
http.h
httpauth.c
httpauth.h
icecast.c Icecast: Send content-type in all cases 2014-11-15 09:15:39 +01:00
id3v1.c
id3v1.h
id3v2.c libavformat: Use ffio_free_dyn_buf where applicable 2015-02-24 23:07:47 +02:00
id3v2.h
id3v2enc.c
idcin.c idcin: fix return check 2014-10-20 10:38:37 +01:00
idroqdec.c
idroqenc.c
iff.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
ilbc.c
img2.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
img2dec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
img2enc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
ingenientdec.c
internal.h lavf: move internal fields from public to internal context 2015-02-10 21:45:04 +01:00
ipmovie.c
isom.c isom: Decode Prores 4444 XQ with the existing Prores decoder 2015-02-03 15:23:21 +00:00
isom.h mov: parse XMP metadata on demand 2014-12-08 13:53:30 +00:00
iss.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
iv8.c
ivfdec.c
ivfenc.c
jvdec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
latmenc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
libavformat.v
librtmp.c librtmp: append the correct field to the string 2014-11-18 00:38:26 +01:00
lmlm4.c lmlm4: K&R formatting cosmetics 2014-09-25 01:44:32 -07:00
log2_tab.c
lxfdec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
m4vdec.c m4vdec: K&R formatting cosmetics 2014-09-25 01:58:51 -07:00
matroska.c matroskadec: parse stereo mode on decoding 2014-08-28 12:33:26 -04:00
matroska.h matroskadec: parse stereo mode on decoding 2014-08-28 12:33:26 -04:00
matroskadec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
matroskaenc.c matroskaenc: Allow writing track "forced" flag 2015-02-24 22:28:51 +01:00
md5enc.c
md5proto.c
metadata.c
metadata.h
mm.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
mmf.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
mms.c
mms.h
mmsh.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
mmst.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
mov.c mov: Change DTS-based seek into CTS-based seek. 2015-02-15 21:26:04 +02:00
mov_chan.c
mov_chan.h
movenc.c movenc: Check memory allocations 2015-02-17 12:16:43 -05:00
movenc.h movenc: Get rid of a hack for updating the dvc1 atom 2015-01-03 01:20:40 +02:00
movenchint.c libavformat: Use ffio_free_dyn_buf where applicable 2015-02-24 23:07:47 +02:00
mp3dec.c mp3: Tweak the probe scores 2014-12-07 21:50:47 +01:00
mp3enc.c Drop the unofficial extension prefix for MPEG and MPEG-TS formats 2014-12-02 15:28:22 +00:00
mpc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
mpc8.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
mpeg.c
mpeg.h mpeg: Write H264 streams at offset 2 2014-08-26 03:43:13 +02:00
mpegenc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
mpegts.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
mpegts.h
mpegtsenc.c libavformat: Use ffio_free_dyn_buf where applicable 2015-02-24 23:07:47 +02:00
mpegvideodec.c
mpjpeg.c
msnwc_tcp.c
mtv.c lavf: move internal fields from public to internal context 2015-02-10 21:45:04 +01:00
mux.c lavf: move internal fields from public to internal context 2015-02-10 21:45:04 +01:00
mvdec.c
mvi.c
mxf.c mxf: Support AAC 2014-08-17 16:11:16 +02:00
mxf.h mxf: Add UID print helpers 2014-08-17 16:11:02 +02:00
mxfdec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
mxfenc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
mxg.c
ncdec.c
network.c
network.h libavformat: use MSG_NOSIGNAL when applicable 2014-08-25 10:49:14 +03:00
noproxy-test.c
nsvdec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
nullenc.c
nut.c
nut.h
nutdec.c nutdec: Check memory allocations 2015-02-17 12:16:43 -05:00
nutenc.c libavformat: Use ffio_free_dyn_buf where applicable 2015-02-24 23:07:47 +02:00
nuv.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
oggdec.c lavf: move internal fields from public to internal context 2015-02-10 21:45:04 +01:00
oggdec.h oggdec: add support for VP8 demuxing 2014-12-18 23:27:07 +01:00
oggenc.c ogg: check memory allocations 2015-02-15 18:20:54 +01:00
oggparsecelt.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparsedirac.c
oggparseflac.c lavf: stop using avpriv_flac_parse_streaminfo() 2014-11-06 09:02:25 +01:00
oggparseogm.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparseopus.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparseskeleton.c
oggparsespeex.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparsetheora.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparsevorbis.c lavc,lavf: switch to the new vorbis parse API 2014-11-06 09:00:46 +01:00
oggparsevp8.c oggdec: add support for VP8 demuxing 2014-12-18 23:27:07 +01:00
oma.c
oma.h
omadec.c oma: Report a timestamp 2015-02-07 15:36:15 +01:00
omaenc.c
options.c avio: Rename avclass symbols relating to avio 2015-02-28 22:07:04 +02:00
options_table.h lavf: Add an option for avoiding negative timestamps 2014-11-07 12:11:35 +02:00
os_support.c
os_support.h libavformat: Only use MoveFileExA when targeting the desktop API subset 2014-12-19 23:24:47 +02:00
paf.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
pcm.c lavf: move internal fields from public to internal context 2015-02-10 21:45:04 +01:00
pcm.h
pcmdec.c
pcmenc.c
pmpdec.c
psxstr.c
pva.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
qcp.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
qtpalette.h
r3d.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
rawdec.c latm: Do not give a score for a single instance 2014-12-07 13:15:03 +01:00
rawdec.h
rawenc.c Drop the unofficial extension prefix for MPEG and MPEG-TS formats 2014-12-02 15:28:22 +00:00
rawenc.h
rawvideodec.c
rdt.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rdt.h
replaygain.c lavf: add a convenience function for adding side data to a stream 2015-01-27 09:18:32 +01:00
replaygain.h
riff.c Canopus HQX decoder 2015-02-22 22:42:27 +00:00
riff.h
riffdec.c
riffenc.c riffenc: do not fall back on AVCodecContext.frame_size for MP3 2014-11-06 09:02:08 +01:00
rl2.c
rm.c
rm.h rm: Use the correct codec_data_size signedness 2014-12-04 13:14:28 +00:00
rmdec.c rmdec: Check memory allocations from ff_rm_alloc_rmstream() 2015-02-17 12:16:43 -05:00
rmenc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
rmsipr.c
rmsipr.h
rpl.c
rso.c
rso.h
rsodec.c
rsoenc.c
rtmp.h
rtmpcrypt.c
rtmpcrypt.h
rtmpdh.c
rtmpdh.h
rtmphttp.c
rtmppkt.c rtmppkt: Repeat the full 32 bit timestamp for chunking continuation packets 2015-01-15 10:20:18 +02:00
rtmppkt.h
rtmpproto.c rtmpproto: Fix a typo in a comment 2014-11-28 20:56:45 +02:00
rtp.c
rtp.h
rtpdec.c rtpdec: Don't pass non-const pointers to fmtp attribute parsing functions 2015-02-24 23:07:22 +02:00
rtpdec.h rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_ac3.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_amr.c rtpdec: Use .init instead of .alloc to set default values 2015-02-24 23:07:28 +02:00
rtpdec_asf.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_dv.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_formats.h rtpdec_hevc: Share the implementation of fragmented packets with h264 2015-02-24 16:25:28 +02:00
rtpdec_g726.c
rtpdec_h261.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_h263.c rtpdec: Set need_parsing via a handler field 2015-02-24 16:22:41 +02:00
rtpdec_h263_rfc2190.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_h264.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_hevc.c rtpdec: Don't pass non-const pointers to fmtp attribute parsing functions 2015-02-24 23:07:22 +02:00
rtpdec_ilbc.c rtpdec: Don't pass non-const pointers to fmtp attribute parsing functions 2015-02-24 23:07:22 +02:00
rtpdec_jpeg.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_latm.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_mpa_robust.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_mpeg4.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_mpeg12.c rtpdec: Set need_parsing via a handler field 2015-02-24 16:22:41 +02:00
rtpdec_mpegts.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_qcelp.c rtpdec: Get rid of all trivial .alloc/.free functions 2015-02-24 16:24:19 +02:00
rtpdec_qdm2.c rtpdec: Get rid of all trivial .alloc/.free functions 2015-02-24 16:24:19 +02:00
rtpdec_qt.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_svq3.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_vp8.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpdec_xiph.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtpenc.c rtpenc: Skip redundant initialization 2015-02-28 22:54:22 +02:00
rtpenc.h rtpenc: Merge the h264 and hevc packetizers 2015-02-24 16:25:43 +02:00
rtpenc_aac.c rtpenc: Restructure if statements in packetizers to simplify adding more conditions 2015-02-28 22:54:26 +02:00
rtpenc_amr.c rtpenc: Restructure if statements in packetizers to simplify adding more conditions 2015-02-28 22:54:26 +02:00
rtpenc_chain.c libavformat: Use ffio_free_dyn_buf where applicable 2015-02-24 23:07:47 +02:00
rtpenc_chain.h
rtpenc_h261.c rtp: Initial H.261 support 2014-12-18 23:11:37 +02:00
rtpenc_h263.c
rtpenc_h263_rfc2190.c
rtpenc_h264_hevc.c rtpenc: Merge the h264 and hevc packetizers 2015-02-24 16:25:43 +02:00
rtpenc_jpeg.c
rtpenc_latm.c
rtpenc_mpegts.c libavformat: Use ffio_free_dyn_buf where applicable 2015-02-24 23:07:47 +02:00
rtpenc_mpv.c
rtpenc_vp8.c
rtpenc_xiph.c rtpenc: Restructure if statements in packetizers to simplify adding more conditions 2015-02-28 22:54:26 +02:00
rtpproto.c rtpproto: Fix the input RTP data format check 2014-12-09 23:59:14 +02:00
rtpproto.h
rtsp.c rtpdec: Rename the free method to close 2015-02-24 23:07:50 +02:00
rtsp.h rtsp: parse lang attribute in SDP 2015-02-21 23:37:24 +02:00
rtspcodes.h
rtspdec.c rtsp: punch holes again after pause 2015-02-23 16:55:56 +02:00
rtspenc.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
sapdec.c
sapenc.c lavf: Use av_gettime_relative 2014-10-24 09:53:45 +03:00
sauce.c
sauce.h
sctp.c sctp: Use AVERROR_BUG instead of abort() 2014-10-10 16:29:06 +02:00
sdp.c rtp: Initial H.261 support 2014-12-18 23:11:37 +02:00
seek-test.c
segafilm.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
segment.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
sierravmd.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
siff.c siff: Return more meaningful error values 2015-02-03 14:55:40 +00:00
smacker.c
smjpeg.c
smjpeg.h
smjpegdec.c
smjpegenc.c
smoothstreamingenc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
smush.c
sol.c sol: simplify sol_codec_id() 2014-11-24 01:30:15 +00:00
sox.h
soxdec.c
soxenc.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
spdif.c
spdif.h
spdifdec.c
spdifenc.c
srtdec.c
srtp.c
srtp.h
srtpproto.c srtpproto: fix option flag type 2014-12-18 11:58:23 +02:00
swf.c
swf.h
swfdec.c
swfenc.c
takdec.c
tcp.c tcp: Clarify the units for the timeout avoptions 2015-02-28 22:07:24 +02:00
thp.c
tiertexseq.c
tls.c tls: Pass AVOptions dictionaries through to the chained protocol 2015-02-28 22:08:19 +02:00
tmv.c
tta.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
tty.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
txd.c
udp.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
unix.c libavformat: use MSG_NOSIGNAL when applicable 2014-08-25 10:49:14 +03:00
url-test.c
url.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
url.h urlprotocol: remove unused url_interrupt_cb declaration 2014-10-18 05:01:20 +02:00
urldecode.c
urldecode.h
utils.c lavf: move internal fields from public to internal context 2015-02-10 21:45:04 +01:00
vc1test.c
vc1testenc.c
version.h libavformat: add T.140 RTP depacketization (RFC 4103) 2015-02-24 16:19:44 +02:00
voc.c
voc.h
vocdec.c
vocenc.c
vorbiscomment.c
vorbiscomment.h
vqf.c lavf: move internal fields from public to internal context 2015-02-10 21:45:04 +01:00
wavdec.c
wavenc.c
wc3movie.c
westwood_aud.c
westwood_vqa.c
wtv.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
wv.c
wv.h
wvdec.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
wvenc.c
xa.c
xmv.c
xwma.c avformat: Don't anonymously typedef structs 2015-02-14 10:13:47 -08:00
yop.c lavf: move internal fields from public to internal context 2015-02-10 21:45:04 +01:00
yuv4mpeg.h
yuv4mpegdec.c yuv4mpegdec: initialize field_order in yuv4_read_header() 2015-01-29 15:26:33 +00:00
yuv4mpegenc.c