1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00
FFmpeg/libavformat
Anton Khirnov 30e50c5027 lavf: eliminate ff_get_audio_frame_size()
It is basically a wrapper around av_get_audio_frame_duration(), with a
fallback to AVCodecContext.frame_size. However, that field is set only
when the stream codec context is actually used for encoding or decoding,
which is discouraged.

For muxing, it is generally the responsibility of the caller to set the
packet duration.
For demuxing, if the duration is not stored at the container level, it
should be set by the parser.

Therefore, removing the frame_size fallback should not break any
important case.
2014-08-13 17:41:11 +00:00
..
4xm.c 4xm: allocate extradata properly. 2014-05-18 10:19:35 +02:00
a64.c a64: check that extradata exists before reading from it 2014-05-18 10:20:19 +02:00
aacdec.c aac: Register the mime type 2014-07-29 17:47:32 +02:00
ac3dec.c
adtsenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
adxdec.c adxdec: get rid of an avpriv function 2014-07-09 13:37:18 +00:00
aea.c
aiff.h
aiffdec.c
aiffenc.c
allformats.c Add Icecast protocol 2014-08-04 12:56:42 +03:00
amr.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
anm.c
apc.c
ape.c
apetag.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
apetag.h
asf.c
asf.h
asfcrypt.c
asfcrypt.h
asfdec.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
asfenc.c asfenc: use codec descriptors instead of AVCodecs to write codec info 2014-05-01 09:26:20 +02:00
assdec.c ass: K&R formatting cosmetics 2014-03-02 13:23:13 +01:00
assenc.c
au.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
audiointerleave.c avpacket: Check for and return errors in ff_interleave_add_packet() 2014-07-17 03:18:46 -07:00
audiointerleave.h
avc.c
avc.h
avformat.h lavf: add AVFormatContext/AVStream fields for signaling to the user when events happen. 2014-08-13 16:04:48 +00:00
avi.h
avidec.c avi: Improve non-interleaved detection 2014-04-02 12:11:31 +02:00
avienc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
avio_internal.h mp3dec: decode more data from Info header 2014-04-17 20:08:19 +02:00
avio.c avformat: Mark argument in av_{i|o}format_next/ffurl_protocol_next as const 2014-07-26 14:51:16 -07:00
avio.h doxygen: Add a number of missing function parameter descriptions 2014-02-17 15:36:09 +01:00
aviobuf.c mp3dec: decode more data from Info header 2014-04-17 20:08:19 +02:00
avisynth.c avisynth: set duration of audio streams 2014-05-16 14:41:02 +02:00
avlanguage.c
avlanguage.h
avs.c
bethsoftvid.c
bfi.c
bink.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
bmv.c
c93.c
caf.c
caf.h
cafdec.c caf: Use correct printf conversion specifiers for POSIX int types 2014-07-28 13:19:05 -07:00
cavsvideodec.c
cdg.c cdg: Forward error from avio_size() in read_header() function 2014-07-10 12:38:54 -07:00
cdxl.c
concat.c
crcenc.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
crypto.c
cutils.c
dauddec.c daud: split muxer and demuxer 2014-07-03 10:46:11 -07:00
daudenc.c daud: split muxer and demuxer 2014-07-03 10:46:11 -07:00
dfa.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
diracdec.c
dnxhddec.c
dsicin.c
dtsdec.c
dump.c dump: Use correct printf conversion specifiers for POSIX int types 2014-07-28 13:19:04 -07:00
dv.c lavc: export DV profile API used by muxer/demuxer as public 2014-07-09 13:35:07 +00:00
dv.h
dvenc.c lavc: export DV profile API used by muxer/demuxer as public 2014-07-09 13:35:07 +00:00
dxa.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
eacdata.c
electronicarts.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
ffmeta.h
ffmetadec.c
ffmetaenc.c
file_open.c
file.c
filmstripdec.c
filmstripenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
flac_picture.c
flac_picture.h
flacdec.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
flacenc_header.c flac muxer: support reading updated extradata from side data 2014-06-01 08:32:33 +02:00
flacenc.c flac muxer: support reading updated extradata from side data 2014-06-01 08:32:33 +02:00
flacenc.h flac muxer: support reading updated extradata from side data 2014-06-01 08:32:33 +02:00
flic.c
flv.h
flvdec.c flvdec: update AVFormatContext.event_flags with METADATA_UPDATED whenever metadata changes. 2014-08-13 16:23:28 +00:00
flvenc.c flvenc: Don't over-count metadata. 2014-06-17 21:38:21 +02:00
format.c Remove obsolete FF_API_PROBE_MIME cruft. 2014-08-09 16:59:21 +00:00
framecrcenc.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
framehash.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
g722.c
g723_1.c
gif.c
gopher.c
gsmdec.c
gxf.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
gxf.h
gxfenc.c
h261dec.c
h263dec.c
h264dec.c
hdsenc.c
hevc.c lavf: always use av_free 2014-03-10 18:02:55 +01:00
hevc.h lavf: simplify ff_hevc_annexb2mp4_buf 2014-03-10 18:02:36 +01:00
hevcdec.c
hls.c
hlsenc.c hlsenc: Set the default codecs to AAC and H264 2014-05-17 01:34:16 +03:00
hlsproto.c
hnm.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
http.c http: Fix authentication, broken since 6a463e7fb 2014-08-13 20:22:28 +03:00
http.h http: Use a constant for the supported header size 2014-07-22 16:38:26 +02:00
httpauth.c
httpauth.h
icecast.c Add Icecast protocol 2014-08-04 12:56:42 +03:00
id3v1.c
id3v1.h
id3v2.c
id3v2.h
id3v2enc.c id3v2enc: use a case-insensitive comparison for APIC picture type 2014-07-03 18:40:37 +00:00
idcin.c
idroqdec.c
idroqenc.c
iff.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
ilbc.c
img2.c OpenEXR decoder 2014-04-01 01:13:09 +02:00
img2dec.c
img2enc.c Alias PIX image encoder and decoder 2014-03-26 23:25:02 +01:00
ingenientdec.c
internal.h lavf: eliminate ff_get_audio_frame_size() 2014-08-13 17:41:11 +00:00
ipmovie.c
isom.c Silicon Graphics RLE 8-bit video decoder 2014-04-19 16:24:26 +02:00
isom.h mov: Support default-base-is-moof. 2014-07-01 14:36:06 +03:00
iss.c
iv8.c
ivfdec.c
ivfenc.c
jvdec.c jv: detect partial packets in the demuxer 2014-02-12 20:12:18 +01:00
latmenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
libavformat.v
librtmp.c librtmp: Don't free the temp url at the end of rtmp_open 2014-07-06 17:49:02 +03:00
lmlm4.c
log2_tab.c
lxfdec.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
m4vdec.c
Makefile Add Icecast protocol 2014-08-04 12:56:42 +03:00
matroska.c matroska: add the Opus mapping 2014-05-01 08:04:33 +02:00
matroska.h matroskadec: read the CodecDelay element 2014-04-30 21:00:01 +02:00
matroskadec.c matroska: Register mime types 2014-07-29 17:47:32 +02:00
matroskaenc.c matroska: Factor out mkv_write_stereo_mode 2014-07-01 16:43:20 +02:00
md5enc.c
md5proto.c
metadata.c
metadata.h
mm.c
mmf.c
mms.c
mms.h
mmsh.c
mmst.c
mov_chan.c
mov_chan.h
mov.c mov: update AVFormatContext.event_flags with METADATA_UPDATED whenever metadata changes. 2014-08-13 16:24:09 +00:00
movenc.c movenc: fix QT chapter track character encoding 2014-08-06 13:27:17 -07:00
movenc.h movenc: add track title to tracks 2014-08-06 13:27:17 -07:00
movenchint.c
mp3dec.c mp3dec: decode more data from Info header 2014-04-17 20:08:19 +02:00
mp3enc.c Check mp3 header before calling avpriv_mpegaudio_decode_header(). 2014-06-22 20:31:58 -04:00
mpc8.c
mpc.c
mpeg.c mpeg: K&R formatting cosmetics 2014-03-24 02:22:15 +01:00
mpeg.h
mpegenc.c mpeg: Suppress a compiler warning on callback type 2014-08-09 21:39:36 +02:00
mpegts.c mpegts: do not export empty language tags 2014-07-21 19:39:31 +00:00
mpegts.h mpegts: Add HEVC definitions 2014-08-05 11:30:50 +02:00
mpegtsenc.c mpegts: Return proper error code on invalid input data 2014-08-10 07:24:30 -07:00
mpegvideodec.c
mpjpeg.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
msnwc_tcp.c
mtv.c mtv: do not set sample_rate for video 2014-07-09 13:38:26 +00:00
mux.c avpacket: Check for and return errors in ff_interleave_add_packet() 2014-07-17 03:18:46 -07:00
mvdec.c Silicon Graphics Movie demuxer 2014-04-19 16:24:27 +02:00
mvi.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
mxf.c mxf: Add additional H264 PictureEssenceCoding 2014-03-19 11:51:08 +01:00
mxf.h mxf: Verbose debug logging 2014-03-19 12:04:06 +01:00
mxfdec.c mxf: Extract origin information from material and source track 2014-07-28 22:17:42 +02:00
mxfenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
mxg.c
ncdec.c
network.c
network.h network.h: Add #endif comments to improve readability 2014-01-06 21:16:54 +01:00
noproxy-test.c
nsvdec.c nsvdec: remove commented out cruft 2014-07-09 13:38:54 +00:00
nullenc.c
nut.c raw, nut: Support rgba64 encoding 2014-03-16 23:29:51 +01:00
nut.h nut: Support experimental NUT 4 features 2014-05-28 22:04:56 +02:00
nutdec.c nutdec: update AVFormatContext.event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:23:36 +00:00
nutenc.c riffenc: take an AVStream instead of an AVCodecContext 2014-06-18 15:03:55 +02:00
nuv.c
oggdec.c
oggdec.h ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02: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 ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00: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 oggparseskeleton: do not use AVCodecContext.codec_name 2014-05-01 09:26:02 +02:00
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 ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oma.c
oma.h
omadec.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
omaenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
options_table.h avformat: Provide a standard compliance flag 2014-05-28 22:04:56 +02:00
options.c lavf: ignore attachment streams for interleaving purposes 2014-02-04 11:17:06 +01:00
os_support.c
os_support.h
paf.c PAF demuxer and decoder 2014-03-27 23:34:47 +01:00
pcm.c
pcm.h
pcmdec.c pcmdec: replace a reachable assert with an error check 2014-02-10 07:41:21 +01:00
pcmenc.c
pmpdec.c pmpdec: check that there is at least one audio packet. 2014-01-03 16:40:22 +01:00
psxstr.c
pva.c
qcp.c
qtpalette.h
r3d.c
rawdec.c latm: Add a probe function 2014-05-03 18:51:17 +02:00
rawdec.h
rawenc.c Add raw HEVC muxer 2014-02-09 14:15:44 +00:00
rawenc.h
rawvideodec.c
rdt.c rdt: check malloc calls 2014-05-24 07:51:12 +02:00
rdt.h
replaygain.c replaygain: allow exporting already decoded replaygain values 2014-04-17 20:08:19 +02:00
replaygain.h replaygain: allow exporting already decoded replaygain values 2014-04-17 20:08:19 +02:00
riff.c On2 AVC decoder 2014-04-23 19:57:44 +02:00
riff.h riffenc: take an AVStream instead of an AVCodecContext 2014-06-18 15:03:55 +02:00
riffdec.c
riffenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
rl2.c
rm.c
rm.h
rmdec.c Replace av_malloc() and memset(0) by av_mallocz() 2014-06-22 18:43:11 +02:00
rmenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
rmsipr.c
rmsipr.h
rpl.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
rso.c
rso.h
rsodec.c
rsoenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
rtmp.h
rtmpcrypt.c
rtmpcrypt.h
rtmpdh.c
rtmpdh.h
rtmphttp.c
rtmppkt.c rtmppkt: Add method to read an AMF string that is not prefixed by its type 2014-06-01 23:30:33 +03:00
rtmppkt.h rtmppkt: Add method to read an AMF string that is not prefixed by its type 2014-06-01 23:30:33 +03:00
rtmpproto.c rtmpproto: read metadata to set correct FLV header 2014-06-01 23:30:48 +03:00
rtp.c
rtp.h
rtpdec_amr.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_asf.c rtpdec_asf: Copy the need_parsing field from the chained demuxer 2014-01-23 17:37:10 +02:00
rtpdec_formats.h
rtpdec_g726.c
rtpdec_h263_rfc2190.c
rtpdec_h263.c
rtpdec_h264.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_ilbc.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_jpeg.c
rtpdec_latm.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_mpeg4.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_mpeg12.c
rtpdec_mpegts.c
rtpdec_qcelp.c
rtpdec_qdm2.c
rtpdec_qt.c
rtpdec_svq3.c
rtpdec_vp8.c
rtpdec_xiph.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec.h rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c rtpenc_chain: Don't copy the time base to the source stream by default 2014-05-31 12:02:23 +03:00
rtpenc_chain.h
rtpenc_h263_rfc2190.c
rtpenc_h263.c
rtpenc_h264.c
rtpenc_jpeg.c rtpenc_jpeg: check for color_range too 2014-06-28 01:51:14 -04:00
rtpenc_latm.c
rtpenc_mpv.c
rtpenc_vp8.c
rtpenc_xiph.c
rtpenc.c rtpenc: base max_frames_per_packet on avg_frame_rate, not codec timebase 2014-06-18 15:03:16 +02:00
rtpenc.h
rtpproto.c
rtpproto.h
rtsp.c rtsp: Support misordered fmtp rtpmap 2014-06-18 22:03:40 +02:00
rtsp.h
rtspcodes.h
rtspdec.c
rtspenc.c
sapdec.c
sapenc.c rtpenc_chain: Don't copy the time base to the source stream by default 2014-05-31 12:02:23 +03:00
sauce.c
sauce.h
sctp.c
sdp.c sdp: Check that fmt->oformat is non-null before accessing it 2014-01-05 01:33:46 +02:00
seek-test.c
seek.c
seek.h
segafilm.c segafilm: fix leaks if reading the header fails 2014-01-06 08:26:09 +01:00
segment.c segment: Report the current media sequence 2014-04-30 17:52:03 +02:00
sierravmd.c
siff.c
smacker.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
smjpeg.c
smjpeg.h
smjpegdec.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
smjpegenc.c
smoothstreamingenc.c smoothstreamingenc: Fix a memory leak on errors 2014-07-07 22:08:42 +03:00
smush.c LucasArts SMUSH demuxer 2014-04-06 16:41:41 +02:00
sol.c
sox.h
soxdec.c
soxenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
spdif.c
spdif.h
spdifdec.c
spdifenc.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
srtdec.c
srtp.c
srtp.h
srtpproto.c
swf.c
swf.h lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
swfdec.c
swfenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
takdec.c
tcp.c
thp.c
tiertexseq.c
tls.c
tmv.c
tta.c
tty.c
txd.c txd: do not set the codec timebase. 2014-04-22 07:44:16 +02:00
udp.c
unix.c
url-test.c
url.c
url.h avformat: Mark argument in av_{i|o}format_next/ffurl_protocol_next as const 2014-07-26 14:51:16 -07:00
urldecode.c
urldecode.h
utils.c lavf: eliminate ff_get_audio_frame_size() 2014-08-13 17:41:11 +00:00
vc1test.c vc1test: Check malloc call 2014-07-06 09:25:52 -07:00
vc1testenc.c
version.h lavf: add AVFormatContext/AVStream fields for signaling to the user when events happen. 2014-08-13 16:04:48 +00:00
voc.c
voc.h
vocdec.c
vocenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
vorbiscomment.c vorbiscomment: simplify API by using av_dict_count() 2014-05-28 07:54:54 +02:00
vorbiscomment.h vorbiscomment: simplify API by using av_dict_count() 2014-05-28 07:54:54 +02:00
vqf.c
wavdec.c
wavenc.c wavenc: use codec descriptors to get the codec name 2014-05-18 20:33:38 +02:00
wc3movie.c
westwood_aud.c
westwood_vqa.c
wtv.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
wv.c
wv.h
wvdec.c
wvenc.c
xa.c
xmv.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
xwma.c
yop.c yop: only set extradata size after it has been successfully allocated 2014-05-18 10:22:42 +02:00
yuv4mpeg.h yuv4mpeg: split the demuxer and muxer into separate files 2014-05-18 10:21:31 +02:00
yuv4mpegdec.c yuv4mpegdec: do not set coded_frame properties 2014-05-18 10:22:08 +02:00
yuv4mpegenc.c yuv4mpegenc: do not access AVCodecContext.coded_frame 2014-07-09 13:40:39 +00:00