ffmpeg/libavformat
Ben Boeckel 5a633ec2dd vorbis: extract metadata from the middle of a stream
If a special comment packet shows up in the middle of the stream, we
should extract it out into the vorbis stream metadata dictionary.

Also, if there is metadata in the packet on the way in, it might linger
since we only add data to the dictionary causing stale metadata to be
inserted into the stream. Instead, clear it to remove any doubt about
what is new and old.

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-05 22:37:07 +01:00
..
4xm.c avformat/4xm: shrink packet if it was only partially initialized 2013-12-22 01:48:33 +01:00
Makefile Remove now unneeded Makefile dependency for the wtv muxer. 2014-01-29 09:59:45 +01:00
a64.c
aacdec.c
ac3dec.c
act.c
adp.c Do not detect "00000000..." (and other non-changing values) as adp. 2013-12-09 13:51:00 +01:00
adtsenc.c
adxdec.c avformat/adxdec: use ff_get_extradata() 2013-12-25 17:14:32 +01:00
aea.c
afc.c
aiff.h
aiffdec.c avformat/aiffdec: use ff_get_extradata() 2013-12-25 17:14:32 +01:00
aiffenc.c lavf/id3v2enc: use metadata_header_padding 2014-01-24 22:50:06 +01:00
allformats.c Add an Opus and a Speex muxer. 2013-12-01 12:03:34 +01:00
amr.c
anm.c
apc.c avformat/apc: use ff_get_extradata() 2013-12-25 17:14:32 +01:00
ape.c avformat/ape: free packet on avio_read() failure 2013-12-25 02:32:40 +01:00
apetag.c avformat/apetag: use ff_get_extradata() 2013-12-25 17:22:49 +01:00
apetag.h
aqtitledec.c
asf.c
asf.h Move GUID-related objects to riffenc.c and riff.c. 2014-01-29 00:44:59 +01:00
asfcrypt.c
asfcrypt.h
asfdec.c avformat/asf: clear uninitialized areas of packets before returning them 2013-12-13 23:32:45 +01:00
asfenc.c Move GUID-related objects to riffenc.c and riff.c. 2014-01-29 00:44:59 +01:00
assdec.c Merge remote-tracking branch 'qatar/master' 2013-11-24 05:21:19 +01:00
assenc.c
ast.c
ast.h
astdec.c
astenc.c
au.c
audiointerleave.c
audiointerleave.h
avc.c
avc.h
avformat.h Merge commit 'd9ae1031f5edbd25c8526b4cb51aba66d3bee931' 2014-02-05 03:19:22 +01:00
avformatres.rc Add Windows resource file support for shared libraries 2013-12-05 23:42:07 +01:00
avi.h
avidec.c Avoid a possible overflow when reading Nikon avi files. 2014-01-20 11:40:35 +01:00
avienc.c lavf/avienc: cosmetic indent 2014-01-24 23:00:17 +01:00
avio.c
avio.h
avio_internal.h
aviobuf.c avformat/aviobuf: fix null dereference in avio_close_dyn_buf() 2013-12-11 16:16:04 +01:00
avisynth.c avisynth: fix setting packet properties 2014-01-17 11:11:08 +01:00
avlanguage.c
avlanguage.h
avr.c
avs.c
bethsoftvid.c
bfi.c
bink.c avformat/bink: display audio track ids 2014-01-03 14:11:07 +01:00
bintext.c
bit.c
bluray.c
bmv.c
boadec.c
brstm.c
c93.c
cache.c
caf.c
caf.h
cafdec.c avformat/cafdec: use ff_get_extradata() 2013-12-25 17:23:39 +01:00
cafenc.c Force one stream in caf muxer. 2013-12-13 11:57:39 +01:00
cavsvideodec.c
cdg.c
cdxl.c
concat.c
concatdec.c lavf/concatdec: fix crash in case a file in script cannot be opened 2013-12-18 15:14:58 +01:00
crcenc.c
crypto.c
cutils.c
data_uri.c
daud.c
dfa.c
diracdec.c
dnxhddec.c
dsicin.c
dtsdec.c
dtshddec.c
dv.c
dv.h
dvenc.c
dxa.c avformat/dxa: check avio_read() return 2013-12-19 18:36:49 +01:00
eacdata.c
electronicarts.c avformat/electronicarts: detect endianness by comparing sizes instead of using an arbitrary threshold 2013-12-21 14:09:45 +01:00
epafdec.c
ffm.h
ffmdec.c avformat/ffmdec: use ff_get_extradata() 2013-12-25 17:23:55 +01:00
ffmenc.c
ffmeta.h
ffmetadec.c
ffmetaenc.c
file.c lavf/file: fix help message first character casing for trunc option 2014-01-05 00:51:38 +01:00
file_open.c
filmstripdec.c
filmstripenc.c
flac_picture.c avformat/flac_picture: clear padding area 2014-01-31 17:32:32 +01:00
flac_picture.h
flacdec.c
flacenc.c lavf/flacenc: fix comment after previous change 2014-01-24 22:41:06 +01:00
flacenc.h
flacenc_header.c
flic.c
flv.h
flvdec.c Merge remote-tracking branch 'qatar/master' 2014-01-11 20:56:29 +01:00
flvenc.c Warn if s16be is muxed into flv. 2014-01-16 00:38:27 +01:00
format.c avformat/format: av_register_output_format() and av_register_intput_format() that work in O(1) time 2013-12-17 01:07:43 +01:00
framecrcenc.c
framehash.c
frmdec.c
ftp.c lavf/ftp: remove double space 2014-01-22 00:41:13 +01:00
g722.c
g723_1.c
g729dec.c
gif.c
gifdec.c
gopher.c
gsmdec.c
gxf.c
gxf.h
gxfenc.c avformat/gxfenc: dont use a int intermediate to store in a unsigned int table 2013-12-21 13:52:10 +01:00
h261dec.c
h263dec.c
h264dec.c
hdsenc.c avformat/hdsenc: check mkdir() return code 2014-01-31 03:08:49 +01:00
hevcdec.c
hls.c avformat/hls: Fix cookies and user agent with encrypted HLS streams 2014-01-28 18:50:58 +01:00
hlsenc.c avformat/hlsenc: copy metadata 2013-12-12 18:41:39 +01:00
hlsproto.c
hnm.c avformat/hnm: check chunk_size == 0 2013-11-22 23:52:08 +01:00
http.c avformat/http: Properly handle cookies that specify sub-domain where the URL. 2014-01-23 14:39:36 +01:00
http.h
httpauth.c
httpauth.h
icodec.c
icoenc.c
id3v1.c
id3v1.h
id3v2.c avformat/id3v2: allow ID3 parsing without AVFormatContext 2013-12-31 05:15:19 +02:00
id3v2.h lavf/id3v2enc: use metadata_header_padding 2014-01-24 22:50:06 +01:00
id3v2enc.c lavf/id3v2enc: update comment about minimum padding 2014-01-24 22:52:33 +01:00
idcin.c avformat/idcin: use ff_get_extradata() 2013-12-25 17:38:29 +01:00
idroqdec.c
idroqenc.c RoQ encoder: support different integer framerates 2014-02-03 02:04:38 +01:00
iff.c avformat/iff: check avio_read() return in get_metadata() 2013-12-29 00:58:13 +01:00
ilbc.c
img2.c Merge commit 'ae9d13f03e6c81ea00fafe6aa74b4a849ec8da1a' 2013-12-12 19:48:36 +01:00
img2dec.c
img2enc.c Merge commit 'be7c323176e2e5fcf30e3d2ff20975b2f936811b' 2013-12-22 11:53:41 +01:00
ingenientdec.c
internal.h Merge commit '33c859c142ef3f49b7a6227014ad92a680cf4d74' 2014-02-04 15:37:05 +01:00
ipmovie.c avformat/ipmovie: Check palette size in OPCODE_SET_PALETTE 2013-12-18 23:46:37 +01:00
ircam.c
ircam.h
ircamdec.c
ircamenc.c
isom.c lavf: add avformat_get_mov_video_tags() and avformat_get_mov_audio_tags() 2014-01-19 22:15:32 +01:00
isom.h avformat/mov: redesign the fps calculation 2014-01-22 00:33:38 +01:00
iss.c avformat/iss: check sscanf() return code 2013-12-23 16:28:44 +01:00
iv8.c
ivfdec.c
ivfenc.c
jacosubdec.c
jacosubenc.c
jvdec.c Merge commit 'd509ae5be0a9bac35a4cedbe68b774a74446bb27' 2014-02-05 01:18:48 +01:00
latmenc.c
libavformat.v
libgme.c
libmodplug.c
libnut.c
libquvi.c
librtmp.c avformat/librtmp: Fix memory leak if RTMP_ConnectStream() fails 2014-01-14 01:59:23 +01:00
libssh.c lavf/libssh: fix seek with whence==SEEK_CUR 2014-01-22 00:41:13 +01:00
lmlm4.c
loasdec.c
log2_tab.c
lvfdec.c
lxfdec.c
m4vdec.c
matroska.c
matroska.h
matroskadec.c avformat/matroskadec: identify SMI as SVQ3 2014-01-19 20:13:38 +01:00
matroskaenc.c avformat/matroskaenc: wrap V_QUICKTIME codec private in something that looks like its part of quicktime stsd 2014-01-23 14:49:50 +01:00
md5enc.c
md5proto.c
metadata.c avformat/metadata: allow ff_metadata_conv() to be called with NULL saftely 2014-01-17 23:09:52 +01:00
metadata.h
mgsts.c
microdvddec.c
microdvdenc.c
mkvtimestamp_v2.c
mm.c
mmf.c
mms.c Merge remote-tracking branch 'qatar/master' 2013-12-26 13:24:43 +01:00
mms.h
mmsh.c
mmst.c Merge remote-tracking branch 'qatar/master' 2013-12-26 13:24:43 +01:00
mov.c avformat/mov: redesign the fps calculation 2014-01-22 00:33:38 +01:00
mov_chan.c
mov_chan.h
movenc.c lavf/movenc: return meaningful error code from mov_write_header() 2013-12-14 13:21:58 +01:00
movenc.h
movenchint.c
mp3dec.c avformat/mp3dec: fix start time in light of initial skip samples 2014-01-05 01:05:16 +01:00
mp3enc.c lavf/id3v2enc: use metadata_header_padding 2014-01-24 22:50:06 +01:00
mpc.c avformat/mpc: use ff_get_extradata() 2013-12-25 17:38:29 +01:00
mpc8.c avformat/mpc8: check avio_read() return in mpc8_parse_seektable() 2013-12-26 00:11:49 +01:00
mpeg.c Ignore es_map_length when parsing mpeg program stream map. 2013-12-05 21:17:21 +01:00
mpeg.h
mpegenc.c lavf/mpegenc: Print a warning if ac3, pcm_s16be or dts are muxed into mpeg1. 2013-11-24 10:37:52 +01:00
mpegts.c avformat/mpegts: Continue parsing PMTs until at least 2 streams are found or 100kb are reached 2014-01-29 05:44:03 +01:00
mpegts.h
mpegtsenc.c mpegts muxer: restore PMT table of DVB teletext from extradata 2014-01-24 22:07:40 +01:00
mpegvideodec.c
mpjpeg.c
mpl2dec.c
mpsubdec.c
msnwc_tcp.c
mtv.c libavformat/mtv: add test for audio magic 2014-02-01 21:09:14 -08:00
mux.c Merge commit 'd9ae1031f5edbd25c8526b4cb51aba66d3bee931' 2014-02-05 03:19:22 +01:00
mvdec.c
mvi.c
mxf.c
mxf.h
mxfdec.c Merge commit 'c716624853339ea4b1086a3957b334829370204c' 2014-02-02 05:23:59 +01:00
mxfenc.c
mxg.c
ncdec.c
network.c avformat/network: check ff_socket_nonblock() return and print a debug message 2013-12-13 17:08:03 +01:00
network.h Merge remote-tracking branch 'qatar/master' 2014-01-07 13:16:55 +01:00
nistspheredec.c avformat/nistspheredec: initialize header_size to -1 2013-12-20 18:08:58 +01:00
noproxy-test.c
nsvdec.c
nullenc.c
nut.c nut: Support XYZ12 rawvideo 2014-01-10 17:51:13 +01:00
nut.h avformat/nut: add support for per frame side & meta data with version 4 2014-01-04 14:13:31 +01:00
nutdec.c avformat/nutdec: fix packet end clearing 2014-01-10 00:34:15 +01:00
nutenc.c avformat/nutenc: fix missing break in switch 2014-01-24 04:17:15 +01:00
nuv.c avformat/nuv: use ff_get_extradata() 2013-12-25 17:38:29 +01:00
oggdec.c ogg: allow streams to update metadata 2014-02-05 22:36:42 +01:00
oggdec.h ogg: allow streams to update metadata 2014-02-05 22:36:42 +01:00
oggenc.c Add an Opus and a Speex muxer. 2013-12-01 12:03:34 +01:00
oggparsecelt.c
oggparsedirac.c
oggparseflac.c
oggparseogm.c Merge commit '75647dea6f7db79b409bad66a119f5c73da730f3' 2014-01-06 15:28:24 +01:00
oggparseopus.c lavf/oggparseopus: Setting seek_preroll in AVCodecContext 2014-02-05 21:16:36 +01:00
oggparseskeleton.c
oggparsespeex.c
oggparsetheora.c avformat/oggparsetheora: zero extradata padding area 2013-12-15 19:21:48 +01:00
oggparsevorbis.c vorbis: extract metadata from the middle of a stream 2014-02-05 22:37:07 +01:00
oggparsevp8.c oggdec: add support for VP8 demuxing 2013-12-30 04:05:27 +01:00
oma.c
oma.h
omadec.c ATRAC3+ decoder 2014-01-09 19:33:07 +01:00
omaenc.c
options.c Merge commit '33c859c142ef3f49b7a6227014ad92a680cf4d74' 2014-02-04 15:37:05 +01:00
options_table.h Merge commit 'd9ae1031f5edbd25c8526b4cb51aba66d3bee931' 2014-02-05 03:19:22 +01:00
os_support.c
os_support.h
paf.c
pcm.c
pcm.h
pcmdec.c
pcmenc.c
pjsdec.c avformat/pjsdec: dont increase pointer when its already at the end in read_ts() 2014-01-11 02:28:17 +01:00
pmpdec.c Merge commit '1b5d065ca722eb8028c7a08e054b6da3419faf5d' 2014-01-04 01:36:06 +01:00
psxstr.c avformat/psxstr: zero packet to prevent uninitialized data to leak through to the decoder 2013-12-16 04:32:50 +01:00
pva.c avformat/pva: Make sure the header is large enough before reading the timestamp from it 2013-12-20 23:04:51 +01:00
pvfdec.c
qcp.c
qtpalette.h
r3d.c
rawdec.c
rawdec.h
rawenc.c Force one stream for raw muxers. 2013-12-11 13:15:49 +01:00
rawenc.h
rawvideodec.c
rdt.c
rdt.h
realtextdec.c
redspark.c
riff.c Support writing E-AC3 in wav. 2014-01-29 00:48:50 +01:00
riff.h Move GUID-related objects to riffenc.c and riff.c. 2014-01-29 00:44:59 +01:00
riffdec.c Move GUID-related objects to riffenc.c and riff.c. 2014-01-29 00:44:59 +01:00
riffenc.c Support writing E-AC3 in wav. 2014-01-29 00:48:50 +01:00
rl2.c avformat/rl2: use ff_get_extradata() 2013-12-25 17:38:29 +01:00
rm.c
rm.h
rmdec.c avformat/rmdec: when reading audio blocks, dont leave holes when reading fails 2014-01-09 23:50:59 +01:00
rmenc.c
rmsipr.c
rmsipr.h
rpl.c rpl: Dont fill the index with entries that failed to be parsed 2013-12-19 19:24:10 +01:00
rsd.c avformat/rsd: use ff_get_extradata() 2013-12-25 17:38:30 +01:00
rso.c
rso.h
rsodec.c
rsoenc.c
rtmp.h
rtmpcrypt.c
rtmpcrypt.h
rtmpdh.c
rtmpdh.h
rtmphttp.c
rtmppkt.c Merge commit '89564be444d24f75ea5add8b6987e414cf7aa7d5' 2014-01-21 04:20:50 +01:00
rtmppkt.h
rtmpproto.c Merge commit '24eb3c791606fe98a1591c13a8b2ba6c342bb3b5' 2014-01-21 04:13:57 +01:00
rtp.c
rtp.h
rtpdec.c avformat/rtpdec: Enable GSM RTP depacketization 2013-12-08 18:38:01 +01:00
rtpdec.h
rtpdec_amr.c
rtpdec_asf.c Merge remote-tracking branch 'qatar/master' 2014-01-23 20:15:21 +01:00
rtpdec_formats.h
rtpdec_g726.c
rtpdec_h263.c
rtpdec_h263_rfc2190.c
rtpdec_h264.c Merge remote-tracking branch 'qatar/master' 2013-12-14 22:39:57 +01:00
rtpdec_ilbc.c
rtpdec_jpeg.c
rtpdec_latm.c
rtpdec_mpeg4.c
rtpdec_mpeg12.c
rtpdec_mpegts.c
rtpdec_qcelp.c
rtpdec_qdm2.c
rtpdec_qt.c
rtpdec_svq3.c
rtpdec_vp8.c
rtpdec_xiph.c
rtpenc.c avformat/rtpenc: check av_packet_get_side_data() return, fix null ptr dereference 2013-12-13 02:09:20 +01:00
rtpenc.h
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c
rtpenc_chain.h
rtpenc_h263.c
rtpenc_h263_rfc2190.c
rtpenc_h264.c
rtpenc_jpeg.c
rtpenc_latm.c
rtpenc_mpv.c
rtpenc_vp8.c
rtpenc_xiph.c
rtpproto.c
rtpproto.h
rtsp.c doc/protocols/rtsp, lavf/rtsp: fix/extend options documentation 2014-01-01 12:57:15 +01:00
rtsp.h
rtspcodes.h
rtspdec.c Merge remote-tracking branch 'qatar/master' 2013-12-12 00:41:02 +01:00
rtspenc.c
samidec.c
sapdec.c
sapenc.c
sauce.c
sauce.h
sbgdec.c
sctp.c
sdp.c Merge remote-tracking branch 'qatar/master' 2014-01-05 02:38:57 +01:00
seek-test.c
seek.c Merge remote-tracking branch 'qatar/master' 2013-11-24 05:21:19 +01:00
seek.h
segafilm.c avformat/segafilm: drop song and dance, this seems not to do anything anymore since a long time 2014-01-07 15:02:31 +01:00
segment.c lavf/segment: drop pointless variable oc from seg_write_packet() 2014-01-21 20:08:36 +01:00
sierravmd.c avformat/sierravmd: Check avio_read return value 2013-12-20 01:03:19 +01:00
siff.c avformat/siff: check avio_read() return value before returning packet 2013-12-29 13:25:13 +01:00
smacker.c
smjpeg.c
smjpeg.h
smjpegdec.c
smjpegenc.c
smoothstreamingenc.c
smush.c
sol.c
sox.h
soxdec.c
soxenc.c
spdif.c
spdif.h
spdifdec.c
spdifenc.c
srtdec.c
srtenc.c
srtp.c
srtp.h
srtpproto.c
subtitles.c
subtitles.h
subviewer1dec.c
subviewerdec.c
swf.c
swf.h
swfdec.c avformat/swfdec: clear 4 bytes at the end of a packet if they are not initialized 2013-12-19 05:07:22 +01:00
swfenc.c
takdec.c avformat/takdec: zero padding area before use 2014-01-07 19:48:13 +01:00
tcp.c doc/protocols/tcp,lavf/tcp: apply minor fixes to TCP protocol documentation 2013-12-25 18:42:26 +01:00
tedcaptionsdec.c
tee.c
thp.c
tiertexseq.c
tls.c avformat/tls: Fix windows build with openSSL enabled. 2014-01-23 14:33:56 +01:00
tmv.c
tta.c
tty.c
txd.c
udp.c avformat/udp: debug log udp socket size 2014-01-08 23:56:05 +01:00
unix.c
url-test.c
url.c
url.h
urldecode.c
urldecode.h
utils.c Merge commit '33c859c142ef3f49b7a6227014ad92a680cf4d74' 2014-02-04 15:37:05 +01:00
vc1test.c avformat/vc1test: use ff_get_extradata() 2013-12-25 17:38:30 +01:00
vc1testenc.c
version.h Merge commit 'd9ae1031f5edbd25c8526b4cb51aba66d3bee931' 2014-02-05 03:19:22 +01:00
vivo.c
voc.c
voc.h
vocdec.c
vocenc.c
vorbiscomment.c
vorbiscomment.h
vplayerdec.c
vqf.c avformat/vqf: check avio_read()s return value more completely 2014-01-01 16:53:54 +01:00
w64.c
w64.h
wavdec.c Merge remote-tracking branch 'qatar/master' 2013-11-24 05:21:19 +01:00
wavenc.c
wc3movie.c avformat/wc3movie: Check strings before printing. 2013-12-29 14:06:47 +01:00
webvttdec.c avformat/webvttdec: Dont skip over a never checked byte after --> 2014-01-07 04:09:19 +01:00
webvttenc.c
westwood_aud.c
westwood_vqa.c avformat/westwood_vqa: use ff_get_extradata() 2013-12-25 17:38:30 +01:00
wtv.h wtv: make ff_format_videoinfo2 visible to wtv encoder 2013-12-23 19:43:09 +01:00
wtv_common.c wtv: make ff_format_videoinfo2 visible to wtv encoder 2013-12-23 19:43:09 +01:00
wtvdec.c wtv: make ff_format_videoinfo2 visible to wtv encoder 2013-12-23 19:43:09 +01:00
wtvenc.c Move GUID-related objects to riffenc.c and riff.c. 2014-01-29 00:44:59 +01:00
wv.c
wv.h
wvdec.c
wvenc.c
xa.c
xmv.c
xwma.c Merge remote-tracking branch 'qatar/master' 2013-11-24 05:21:19 +01:00
yop.c
yuv4mpeg.c Merge commit '5ef11b8dcc054b230deb9b20493255c14a80597d' 2014-01-17 16:18:40 +01:00