summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lavf: factor out freeing an AVStreamAnton Khirnov2015-11-081-25/+33
| | | | It will be needed in other functions.
* avconv: set packet duration for CFR video streamsAnton Khirnov2015-11-081-0/+5
|
* lavf: initialize cur_dts to AV_NOPTS_VALUE for muxingAnton Khirnov2015-11-081-5/+7
| | | | The reasoning for setting it to zero only applies to demuxing.
* libopenh264enc: Set AVOption data typeMichael Niedermayer2015-11-061-3/+3
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* vdpau: Remove a spurious CONFIG_H263_VDPAU_HWACCELMichael Niedermayer2015-11-061-1/+1
| | | | | | | | | Fixes libavcodec/vdpau.c:282:5: warning: "CONFIG_H263_VDPAU_HWACCEL" is not defined [-Wundef] Removed in d35d0c723e3c8fc8cde76bf677f67928f5e179a8. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* segafilm: drop the "song and dance" for cinepakMichael Niedermayer2015-11-061-12/+3
| | | | | | | | | | This seems not to do anything any more since a long time, and removing it avoids using uninitialized memory. Also change the error value forwarding as done everywhere else. Partly fixes: msan_uninit-mem_7fb7d24780d0_2744_R03T.CAK Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* segafilm: set video and audio stream durationPaul B Mahol2015-11-061-1/+9
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* segafilm: implement seekingPaul B Mahol2015-11-061-0/+23
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* vf_pad: fix x, y option expression evaluationJohn Stebbins2015-11-061-5/+5
| | | | | | | | Calculation of x an y based on width and height did not work when width == 0 or height == 0. "0" substitutes the input width and height, but did so too late for x, y expression evaluation. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avresample: Document avresample_open() a little betterLuca Barbato2015-11-051-0/+4
| | | | Bug-Id: 911
* mov: detect cover art pictures by contentwm42015-11-031-0/+8
| | | | | | | | | | | | I've got some m4a samples that had jpeg cover art marked as png. Since these files were supposedly written by iTunes, and other software can read it (e.g. clementine does), this should be worked around. Since png has a very simple to detect header, while it's apparently a real pain to detect jpeg in the general case, try to detect png and assume jpeg otherwise. Not bothering with bmp, as I have no test case. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* flashsv: Initialize the block arrayLuca Barbato2015-11-021-2/+4
| | | | | | | | | Otherwise flashsv2_prime could be fed random data. Bug-Id: 908 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* truemotion2: Fix the buffer checkLuca Barbato2015-11-021-1/+1
| | | | | | | | | The variable skip contains the expected size in bytes. Bug-Id: 906 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mimic: Always return on failureLuca Barbato2015-11-021-3/+2
| | | | | | | Bug-Id: 905 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* msnwc_tcp: Use the correct return valuesLuca Barbato2015-11-021-2/+2
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* cosmetics: msnwc_tcp: ReformatLuca Barbato2015-11-021-23/+24
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* msnwc_tcp: Correctly report failureLuca Barbato2015-11-021-2/+6
| | | | | | | | And prevent a memory leak CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rpza: Check the blocks left before processing oneLuca Barbato2015-11-021-21/+31
| | | | | | | | Bug-Id: 903 CC: libav-stable@libav.org Reported-By: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lagarith: Correctly compute hash_shiftLuca Barbato2015-11-021-1/+1
| | | | | | | | | All the values are unsigned. Bug-Id: 907 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* nut: Use the correct codec_tag when multiple are availableLuca Barbato2015-11-021-1/+2
| | | | | | | | | | Some codecs use the codec_tag to signal specific information and picking the first one would lead to a broken file. Bug-Id: 883 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264_parser: Rename close() to h264_close()Diego Biurrun2015-11-011-2/+2
| | | | At least on AIX it conflicts with the close() libc function from unistd.h.
* w32pthreads: Map MemoryBarrier to __sync_synchronize on mingwMartin Storsjö2015-10-301-2/+2
| | | | | | | This fixes building on older mingw (both mingw.org and mingw64; mingw64 from before May 2011). Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add a SONAME entry for the android targetLuca Barbato2015-10-301-2/+1
| | | | | | | | In order to load libraries in Android they need to be unversioned. The android target section was derived from the BSD ones, and they that simply drop the SONAME Android M requires to have a SONAME entry but unversioned.
* vdpau: remove dysfunctional H.263 supportRémi Denis-Courmont2015-10-305-29/+1
| | | | | | The VDPAU API never explicitly supported H.263 in the first place. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* omadec: Fix position of opening parenthesisVittorio Giovara2015-10-301-2/+2
|
* h264: Print the complete user messageVittorio Giovara2015-10-301-6/+8
| | | | | | | Previously the message was cut off at 256th byte. This will allow dumping the complete x264 encode info when needed. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264: Print user data SEI under normal debug verbosityVittorio Giovara2015-10-301-1/+1
| | | | | | Drop the need of setting -debug bugs since it's not a bug, and the message is already under a AV_LOG_DEBUG log level. Instead only print it when there is an actual string in it.
* png: read and write stereo3d frame side data informationKirill Gavrilov2015-10-302-0/+40
| | | | | | | Use optional sTER chunk defining side-by-side stereo pair within "Extensions to the PNG 1.2 Specification", version 1.3.0. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* os_support: Don't try to return the service name as a string in getnameinfoMartin Storsjö2015-10-302-11/+2
| | | | | | | | | | | | | Some systems may be lacking getservbyport; the previous ifdef wasn't quite enough since it still assumed that struct servent was defined, as pointed out by Clément Gregoire. Simply remove the possibility to return non-numeric services in getnameinfo; no caller of getnameinfo within libavformat currently try to use getnameinfo for retrieving the port number without NI_NUMERICSERV, and falling back on getservbyport may be non-threadsafe. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add -D_CRT_NONSTDC_NO_WARNINGS when building with msvcMartin Storsjö2015-10-291-1/+1
| | | | | | | | | This silences warnings like this one: libavformat/file.c(62) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenh264enc: Count and warn about the number of skipped framesMartin Storsjö2015-10-281-0/+4
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenh264enc: Add an option for controlling the frame skippingMartin Storsjö2015-10-281-1/+3
| | | | | | | This allows enabling the frame skipping, which is required for the encoder to properly hit the target bitrate. Signed-off-by: Martin Storsjö <martin@martin.st>
* opus: Do not call vector_fmul_scalar on zero samplesKieran Kunhya2015-10-281-1/+1
| | | | | | The x86 variant of this function crashes in that specific case. CC: libav-devel@libav.org
* opus: Buffer the samples from the correct offsetMichael Niedermayer2015-10-281-2/+2
| | | | | | | | | | | When not all the opus stream have the same amount of decoded samples process the least amount and store what is left from the other streams. Bug-Id: 909 CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avpicture: Deprecate the single fieldsLuca Barbato2015-10-271-1/+3
| | | | Silence pointless warnings from gcc.
* avconv: support infinite loop for the loop optionAlexandra Hájková2015-10-262-3/+5
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avpacket: Provide an alloc and a free function for the structLuca Barbato2015-10-263-0/+70
| | | | | Pave the way for having the size of the AVPacket struct not part of the ABI.
* avpacket: Deprecate av_dup_packetLuca Barbato2015-10-265-16/+18
| | | | | As documented, `av_dup_packet` is broken by design, `av_packet_ref` matches the AVFrame ref-counted API and can be safely used instead.
* avformat: Rework add_to_pktbufLuca Barbato2015-10-261-32/+38
| | | | | Make it return an error and check its return value when it is used. Simplify the usage by calling `av_packet_ref` internally when needed.
* avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-2680-158/+174
| | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
* avformat: Always return ref-counted AVPacketLuca Barbato2015-10-263-5/+8
| | | | And drop the av_dup_packet from the input_thread.
* avprobe: Unref the packet once it is usedLuca Barbato2015-10-261-1/+3
| | | | | | Make sure it does not leak packets. CC: libav-stable@libav.org
* roqvideodec: use av_frame_copyHendrik Leppkes2015-10-261-5/+6
| | | | | CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hap: Set avctx.bits_per_coded_sampleTom Butterworth2015-10-251-0/+3
| | | | | | Fixes an issue where alpha is ignored in some players. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* cmdutils: Check for and report the correct codec capabilityVittorio Giovara2015-10-251-2/+2
|
* screenpresso: Drop parameter change checkVittorio Giovara2015-10-251-17/+12
| | | | | Size can never change, allowing us to use ff_reget_buffer, and to simplify the code a little.
* mpegvideo_enc: Fix encoding videos with less frames than the delay of the ↵Alexis Ballier2015-10-251-4/+16
| | | | | | | | | | | | encoder When the encoder is fed with less frames than its delay, the picture list looks like { NULL, NULL, ..., frame, frame, frame }. When flushing the encoder (input frame == NULL), we need to ensure the picture list is shifted enough so that we do not return an empty packet, which would mean the encoder has finished, while it has not encoded any frame. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpegvideo_enc: Merge ifs with identical conditionsMichael Niedermayer2015-10-251-2/+0
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* mpegvideo_enc: Factor new_picture unref outMichael Niedermayer2015-10-251-3/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* innoHeim/Rsupport Screen Capture Codec decoderVittorio Giovara2015-10-2311-1/+308
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
OpenPOWER on IntegriCloud