summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* rtmpproto: free hmac context properlyJames Almer2015-07-30
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: use AVHMAC instead of a custom implementationJames Almer2015-07-29
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* asfdec: do not align Data Object when Broadcast Flag is setAlexandra Hájková2015-07-27
| | | | | | its size is invalid in this case Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* asfdec: interpret the first flag in an asf packet as length flagAlexandra Hájková2015-07-27
| | | | | | if the error correction flag is not set, a packet starts with payload Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: remove the wrong conditionAlexandra Hájková2015-07-23
| | | | | | | | this condition breaks reading from the pipe as data_reached variable have to be set to break while in the asf_read_header just after the Data Object is found Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: increment nb_streams right after the stream allocationAlexandra Hájková2015-07-23
| | | | | | to prevent possible memory leaks Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: set nb_streams to 0 in the asf_read_closeAlexandra Hájková2015-07-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: avoid crash in the case when chunk_len is 0 or pkt_len is 0Alexandra Hájková2015-07-22
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: close the demuxer properly when read_header is failingAlexandra Hájková2015-07-22
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: factor out seeking to the Data Object outside whileAlexandra Hájková2015-07-22
| | | | | | return INVALIDDARA if Data Object was not found Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add a quality factor packet side dataVittorio Giovara2015-07-20
| | | | | | | | This is necessary to preserve the quality information currently exported with coded_frame. Add the new side data to every encoder that needs it, and use it in avconv. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* asfdec: make nb_sub to be unsigned intAlexandra Hájková2015-07-19
| | | | | | number of subpayloads should be always positive Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: read the replicated data in a separate functionAlexandra Hájková2015-07-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: convert condition for the replicated data reading to be saferAlexandra Hájková2015-07-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: do not read replicated data when their length is 0Alexandra Hájková2015-07-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Revert "mov: Double-check that alias path is not an absolute path"Vittorio Giovara2015-07-17
| | | | | | | This reverts commit 9286de045968ad456d4e752651eec22de5e89060. The change broke support for legit absolute file paths. Reported-by: Maksym Veremeyenko <verem@m1stereo.tv>.
* mpegts: Mark the muxer as supporting variable fpsLuca Barbato2015-07-15
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mp3: Forward seeking errorsLuca Barbato2015-07-13
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* asfdec: prevent memory leaks found with Coverity ScanAlexandra Hájková2015-07-13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: always reset packet state after seekingHendrik Leppkes2015-07-12
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* riff: Validate bitrateAndreas Cadhalpun2015-07-11
|
* mp3: Make the seek more robustLuca Barbato2015-07-11
| | | | | | Try to parse up to 4 packets to find the closest packet. Reported-By: jan.schlueter@ofai.at
* riff: Use the correct logging contextLuca Barbato2015-07-11
|
* asfdec: Fix reading from the pipeAlexandra Hájková2015-07-10
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavf/hevc: pad the RBSP buffer as required by the bistream readerAnton Khirnov2015-07-08
|
* mpjpeg: Write the Content-lengthFrank Heckenbach2015-07-04
|
* mpjpeg: Simplify using avio_printfLuca Barbato2015-07-04
|
* 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
|