- 23 Jan, 2012 3 commits
-
-
Hendrik Leppkes authored
This matches the spec as well as the reference decoder, and fixes a bug with interlaced frame decoding. Signed-off-by:
Kostya Shishkov <kostya.shishkov@gmail.com>
-
Janne Grunau authored
-
Justin Ruggles authored
They have no code in common.
-
- 22 Jan, 2012 22 commits
-
-
Janne Grunau authored
-
Carl Eugen Hoyos authored
Reported and reviewed by Derek Buitenhuis. Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Janne Grunau authored
-
Tomas Härdin authored
The most recent demuxing/seeking code does not need them.
-
Janne Grunau authored
This uses the old demuxing code for OP1a and separate demuxing code for OPAtom. Timestamp output is added to the old demuxing code. The seeking code is made to seek to the start of the desired EditUnit only, from which the normal demuxing code takes over (if OP1a). This means we do not use delta entries or slices, only StreamOffsets. OPAtom seeking basically works like before. This also makes D-10 seeking behave the same way as OP1a and OPAtom. In other words, we allow seeking before the start or past the end for D-10 too. Based on several patches by Tomas Härdin <tomas.hardin@codemill.se> and Reimar Döffinger <Reimar.Doeffinger@gmx.de>. Changed av_calloc to av_mallocz, added overflow checks.
-
Tomas Härdin authored
Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Carl Eugen Hoyos authored
It is a really bad idea to assign a video codec id when we have set codec_type to audio and vice versa. Prevents detection of mp2 in mxf as mpeg2video. Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
This replaces the old essence_offset code. Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
This is not an error and expected behavior for OPAtom files. Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
This also zeroes new entries for good measure (used by future patches). Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
Specifically, this means parsing as before until we run into essence. At that point we seek to the footer and parse until EOF. After that we start seeking backward to the previous partition and parse that until we run into essence or the next partition. This procedure is repeated until we encounter the last partition we parsed in the forward direction. The end result of all this is that large essence containers are not needlessly parsed. This speeds up parsing large files a lot. Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
This fixes 0001GL.MXF.V1.mxf_opatom.mxf and 0001GL00.MXF.A1.mxf_opatom.mxf getting two streams each due to both using the same SourcePackageID. Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Janne Grunau authored
Based on patch from Tomas Härdin <tomas.hardin@codemill.se> and work by Georg Lippitsch <georg.lippitsch@gmx.at> Changed av_calloc to av_mallocz and added overflow checks.
-
Tomas Härdin authored
Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Joakim Plate authored
Avoid modifying state if avio_seek fails. Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Philip de Nier authored
This fixes reading of partition packs. The code stops reading after the operational pattern and should skip the array of essence container labels that follow. Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
-
Anton Khirnov authored
Now that 0.8 is out we can reapply this commit. It breaks shared avserver builds due to avserver using internal libavformat symbols, which are now hidden, so this commit also disables avserver with --enable-shared.
-
- 21 Jan, 2012 15 commits
-
-
Dmitry Volyntsev authored
This avoids (for all practical cases) the issue of reusing the same UDP port as for an earlier connection. If the remote doesn't know the previous session was closed, he might keep on sending packets to that port. If we always start off trying to open the same UDP port, we might get those packets intermixed with the new ones. This is occasionally an issue when testing RTSP stuff with DSS, perhaps also with other servers. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Dmitry Volyntsev authored
This check isn't relevant in the way the code currently works. Also change a case of if (x == 0) into if (!x). Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The s->ssrc field is the sender's SSRC, we use ssrc + 1 to get a collision free "unique" SSRC for ourselves in the RR part. The SDES block in the RTCP packet should describe ourselves, not the sender. This was fixed for the RR part in 952139a3, but wasn't fixed for the SDES part until now. This could cause some Axis cameras to send RTCP BYE packets to us due to the SSRC collision. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Reinhard Tartler authored
-
Reinhard Tartler authored
-
Janne Grunau authored
Using threaded decoding by default breaks backward compatibility if AVHWAccel is used or if an appliction sets threadunsafe callbacks. Avconv and avplay still use -threads auto if not specified.
-
Janne Grunau authored
They are used to signal the number of slices and offsets of each slice out of band to the decoder.
-
Martin Storsjö authored
Also include stdlib.h explicitly - currently it is used implicitly via avformat.h. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Anton Khirnov authored
-
Anton Khirnov authored
This temporarily (until 0.8 is released) reverts commit 8e1340ab. That commit breaks shared builds because of symbol hiding. Reverting it will enable shared builds for 0.8
-
Dustin Brody authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Dustin Brody authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Dustin Brody authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
John Brooks authored
When either video dimension is only one macroblock, subtractions based on v_edge_pos and the macroblock size may be negative. In that situation, an unsigned comparison isn't sufficent to test for MV overruns, because a limit of (unsigned)-1 will let any other value pass. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-