summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* Bump major versions of all librariesVittorio Giovara2015-08-281-2/+2
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Postpone API-incompatible changes until the next bumpVittorio Giovara2015-08-281-3/+3
|
* lavc: Drop deprecated destruct_packet related functionsVittorio Giovara2015-08-287-49/+0
| | | | Deprecated in 10/2012.
* webm: Explicitly select libvpx, libopus and libvorbis encodersLuca Barbato2015-08-251-2/+2
| | | | | | | | And update the preference for the newer codecs now that the libraries seem stable and widespread enough. Bug-Id: 695 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hlsenc: Support outputting specific versionsLuca Barbato2015-08-251-4/+11
| | | | | | Right now only version 2 and version 3 are supported. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* asfdec: prevent the memory leak in the asf_read_metada_objAlexandra Hájková2015-08-161-2/+4
| | | | | | | also do not return the error code but just break reading metadata object in the case of the aspect ratio reading failure Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hlsenc: Use AV_TIME_BASE units for all the computationsLuca Barbato2015-08-161-13/+15
| | | | | | | | Do not risk mixing different timebases. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* movenc: Add a new flag for writing global sidx indexes for dashMartin Storsjö2015-08-122-7/+9
| | | | | | | | | | | | | | | | | | | | The double meaning of the faststart flag (moving a moov atom to the start of files, making them streamable, for non-fragmented files, vs inserting a global sidx index at the start of files for fragmented files) is confusing - see 40ed1cbf1 for explanation of its origins. Since the second meaning of the flag hasn't been part of any libav release yet, just rename it to get rid of the confusion without any extra deprecation (which wouldn't get rid of the potential confusion, of users adding -movflags faststart even for fragmented files, where it isn't needed for making them "streamable"). This gets back the old behaviour, where -movflags faststart doesn't have any effect for fragmented files. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Place the sidx index after the initial moov/mdat pairMartin Storsjö2015-08-101-0/+3
| | | | | | | | | | For fragmented files with non-empty moov, with a fragment index (sidx), place the index after the initial moov/mdat pair. Previously, for this pathological case, the index was written at the start of the file. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Rename reserved_moov_pos to reserved_header_posMartin Storsjö2015-08-102-8/+8
| | | | | | | The same field is also used for writing the sidx index header, for fragmented files, when the faststart flag is used. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Check that frag_info entries exist in mov_write_sidx_tagMartin Storsjö2015-08-101-0/+2
| | | | | | | | | | | | | This fixes crashes with pathological cases when trying to write a sidx index (via the -movflags faststart option, in combination with fragmenting options), when no fragments actually have been written. (This is possible if the empty_moov flag isn't used, so that all actual packet data is written in the moov/mdat pair, and no moof/mdat pairs have been written.) In these pathological cases, no sidx should be written at all. Signed-off-by: Martin Storsjö <martin@martin.st>
* asf: Use time_t where neededLuca Barbato2015-08-041-1/+1
| | | | gmtime takes a time_t not an uint64_t.
* asfdec: read values properlyAlexandra Hájková2015-08-041-16/+36
| | | | | | | The length of BOOL values is 16 bits in the Metadata Object but 32 bits in the Extended Content Description Object. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* asfdec: prevent the memory leak while reading metadataAlexandra Hájková2015-08-021-10/+12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: remove improper assignement that caused wrong timestampsAlexandra Hájková2015-07-311-3/+0
| | | | | | | | and remove unneeded variable Sample-Id: https://samples.libav.org/asf-wmv/asf-code-53/movn018.asf Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: do not export empty metadataAlexandra Hájková2015-07-311-2/+4
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: free AVDictionaries properly when closing the demuxerAlexandra Hájková2015-07-311-3/+5
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rtsp: Only interpret $ as interleaved packet indicator at the start of repliesMartin Storsjö2015-07-301-2/+3
| | | | | | | | | | | | Allow $ as character anywhere within normal RTSP replies - both within the lines, and as the first character of RTSP header lines. (The existing old comment indicated that an inline packet could start at any line within a RTSP reply header, but that doesn't sound valid to me, and I'm not sure if the existing code handled that correctly either.) CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* hls: Save and forward avio optionsLuca Barbato2015-07-301-13/+80
| | | | | | Make possible to send the custom headers and override the user agent. Reported-by: BenWonder
* http: Add the trailing endlines if they are missingLuca Barbato2015-07-301-1/+8
| | | | | Makes slightly easier the life of those want to use the option from the command line
* rtmpproto: free hmac context properlyJames Almer2015-07-301-1/+1
| | | | | 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-292-32/+10
| | | | | 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-271-2/+2
| | | | | | its size is invalid in this case Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-2761-108/+108
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-271-2/+2
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-271-2/+2
| | | | | | 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-271-2/+4
| | | | | | 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-231-1/+1
| | | | | | | | 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-231-1/+1
| | | | | | 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-231-0/+1
| | | | 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-221-0/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: close the demuxer properly when read_header is failingAlexandra Hájková2015-07-221-3/+8
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: factor out seeking to the Data Object outside whileAlexandra Hájková2015-07-221-7/+10
| | | | | | 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-201-0/+3
| | | | | | | | 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-191-1/+1
| | | | | | 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-191-13/+24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: convert condition for the replicated data reading to be saferAlexandra Hájková2015-07-191-2/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: do not read replicated data when their length is 0Alexandra Hájková2015-07-191-11/+13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Revert "mov: Double-check that alias path is not an absolute path"Vittorio Giovara2015-07-171-1/+1
| | | | | | | 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-151-1/+1
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mp3: Forward seeking errorsLuca Barbato2015-07-131-1/+3
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* asfdec: prevent memory leaks found with Coverity ScanAlexandra Hájková2015-07-131-4/+8
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: always reset packet state after seekingHendrik Leppkes2015-07-121-4/+2
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* riff: Validate bitrateAndreas Cadhalpun2015-07-111-1/+19
|
* mp3: Make the seek more robustLuca Barbato2015-07-111-11/+65
| | | | | | 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-1110-12/+13
|
* asfdec: Fix reading from the pipeAlexandra Hájková2015-07-101-1/+2
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavf/hevc: pad the RBSP buffer as required by the bistream readerAnton Khirnov2015-07-081-1/+1
|
* mpjpeg: Write the Content-lengthFrank Heckenbach2015-07-041-1/+4
|
* mpjpeg: Simplify using avio_printfLuca Barbato2015-07-041-10/+3
|
OpenPOWER on IntegriCloud