summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* lavc: Move deprecation warning disabling to files including the tableVittorio Giovara2015-07-03
| | | | | | Unbreak build from 7a5902c556d84a367dd64a003a4e7244fc3a73d1. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* asfdec: prevent the infinite loop in detect unknown_subobjectAlexandra Hájková2015-07-03
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* asfdec: prevent possible memory leak in the asf_read_metadata_objAlexandra Hájková2015-07-03
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mov: Log format rather than fourcc in stsd in trace modeVittorio Giovara2015-07-01
| | | | This will fix remaining format warnings.
* mov: Adjust variable types to fix format warningsVittorio Giovara2015-07-01
|
* dump: Use the correct abs() versionVittorio Giovara2015-07-01
| | | | | | Fix warning from clang "absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]".
* mov: Preserve the metadata even when bit-exactness is requestedLuca Barbato2015-06-30
| | | | | | | Make sure to not write the custom `encoder` string in that case. Bug-Id: 845 CC: libav-stable@libav.org
* mpegts: Add jpeg2000 stream typeJohn Högberg2015-06-30
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* riff: Validate the wav header size before trying to parse itLuca Barbato2015-06-28
|
* asf: Do not skip data streamsLuca Barbato2015-06-28
|
* mpjpeg: Check stream allocationLuca Barbato2015-06-28
| | | | Bug-Id: CID 1308152
* lavf: Replace the ASF demuxerAlexandra Hájková2015-06-28
| | | | | | | | | | | | | | | | | The old one is the result of the reverse engineering and guesswork. The new one has been written following the now-available specification. This work is part of Outreach Program for Women Summer 2014 activities for the Libav project. The fate references had to be changed because the old demuxer truncates the last frame in some cases, the new one handles it properly. The seek-test reference is changed because seeking works differently in the new demuxer. When seeking, the packet is not read from the stream directly, but it is rather constructed by the demuxer. That is why position is -1 now in the reference. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* segafilm: Remove deplanarization hackPaul B Mahol2015-06-24
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* PCM signed 16-bit big-endian planar decoderPaul B Mahol2015-06-24
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* DirectDraw Surface image decoderVittorio Giovara2015-06-22
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Hap decoder and encoderVittorio Giovara2015-06-22
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* udp: Fix local_port managementLuca Barbato2015-06-22
| | | | | | The default value for unset is -1, not 0. Problem introduced in 66028b7ba6b411ba12ef553e9c8f1f4a4fe27710
* mp3: enable packed main_data decoding in MP4nu7742015-06-20
| | | | | | | | | | | | | | | | 14496-3 suggests packing main_data of MP3 that is usually scattered into multiple frames due to bit reservoir. However, after packing main_data into a access unit, bitrate index in the MPEG audio frame header doesn't match with actual frame size. In order to accept this, this patch removes unnecessary frame size checking on mp3 decoder. Also, mov demuxer was changed to use MP3 parser only on special cases (QT MOV with specific sample description) to avoid re-packetizing. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* nut: Drop doxygen markersLuca Barbato2015-06-15
|
* riff: Add MNM4 FourCC as mpeg4Vittorio Giovara2015-06-15
|
* tls_gnutls: fix hang on disconnectionwm42015-06-14
| | | | | | | | | | | GNUTLS_SHUT_RDWR means GnuTLS will keep waiting for the server's termination reply. But since we don't shutdown the TCP connection at this point yet, GnuTLS will just keep skipping actual data from the server, which basically is perceived as hang. Use GNUTLS_SHUT_WR instead, which doesn't have this problem. Signed-off-by: Martin Storsjö <martin@martin.st>
* flv: Name an enum and use its typeVittorio Giovara2015-06-12
|
* segment: Check open_null_ctx() return valueVittorio Giovara2015-06-12
| | | | Reported-By: infer
* movenc: fixes a questionable valgrind uninitialized value warningJanne Grunau2015-06-10
| | | | | | | display_matrix_size is only initialized when av_stream_get_side_data() returns a side data pointer. The code is safe since the only effect this has is setting the display_matrix pointer to NULL which it was already anyway.
* mkv: Correctly report the latest packet had been flushedLuca Barbato2015-06-09
| | | | | Bug-Id: 865 CC: libav-stable@libav.org
* mpjpegdec: don't try to alloc an AVIOContext when probe is guaranteed to failJames Almer2015-06-09
| | | | | | | The first check is done without the AVIOContext, so alloc it only if said check succeeds Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* rtpdec_asf: Check memory allocation and free memory on errorVittorio Giovara2015-06-08
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1257774
* mov: Check memory allocationVittorio Giovara2015-06-08
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1292518
* audiointerleave: Always initialize new_pktVittorio Giovara2015-06-08
| | | | | CC: libav-stable@libav.org Bug-Id: CID 609333
* sctp: Always initialize outmsg structVittorio Giovara2015-06-08
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1302711
* mpjpgdec: free AVIOContext leak on early probe failJanne Grunau2015-06-08
|
* avio: Add avio_put_str16beLuca Barbato2015-06-07
|
* mpjpeg: Initial implementationLuca Barbato2015-06-07
| | | | | | Support only streams with Content-Length. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rtmpdh: Use GMP functions directly, instead of nettle wrappersMartin Storsjö2015-06-01
| | | | | | | | | mpz_import and mpz_export were added in GMP 4.1, in 2002. This simplifies the DH code by clarifying that it only uses pure bignum functions, no other parts of nettle/hogweed. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Fix the indentation in a structMartin Storsjö2015-06-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: always check avio_read return valueAndreas Cadhalpun2015-05-31
| | | | | | | | | | | If avio_read fails, the buffer can contain uninitialized data. This fixes 'Conditional jump or move depends on uninitialised value(s)' valgrind warnings, and addresses a few memleaks. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avio: Add avio_read wrapper to simplify error checkingVittorio Giovara2015-05-31
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mov: reject zero bytes_per_frame with non-zero samples_per_frameAndreas Cadhalpun2015-05-31
| | | | | | | In this case the mov demuxer can return a large number of empty packets. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mov: abort on EOF in ff_mov_read_chanAndreas Cadhalpun2015-05-31
| | | | | | | Otherwise the loop can take a lot of time if num_descr is very large. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mov: Correctly allocate ctts_dataLuca Barbato2015-05-31
| | | | | | It can be reallocated. CC: libav-stable@libav.org
* mov: Fix two memleaksAndreas Cadhalpun2015-05-31
| | | | | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> CC: libav-stable@libav.org
* network: prevent SIGPIPE on OSXwm42015-05-31
| | | | | | | | OSX does not know MSG_NOSIGNAL. BSD (which OSX is based on) has got the socket option SO_NOSIGPIPE (even if modern BSDs also support MSG_NOSIGNAL). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Generate the whole private exponent using av_get_random_seed() with ↵Martin Storsjö2015-05-29
| | | | | | | | | nettle/gmp Don't use a PRNG for generating it; that defies the intended use within the cryptograhic handshake. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Create sufficiently long private keys for gcrypt/nettleMartin Storsjö2015-05-29
| | | | | | | There was a misunderstanding betewen bits and bytes for the parameter value for generating random big numbers. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Remove an unnecessary check in the gcrypt/nettle dh_compute_keyMartin Storsjö2015-05-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Add fate test for the DH handshake routineMartin Storsjö2015-05-29
| | | | | | | This helps if these functions need to be implemented using another crypto API. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Pass the actual buffer size of the output secret keyMartin Storsjö2015-05-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Check the output buffer size in the openssl version of dh_compute_keyMartin Storsjö2015-05-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Fix a local variable name in the nettle/gcrypt codepathMartin Storsjö2015-05-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Make sure ret is initialized in the nettle version of bn_hex2bnMartin Storsjö2015-05-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>