Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-17Change all uses of restrict to use av_restrict instead.Ronald S. Bultje
Defining restrict results - for some compilers - in changing other uses of the restrict keyword also, e.g. __declspec(restrict) gets changed to __declspec(__restrict) on MSVC. This causes compilation failures. Therefore, using a private namespace macro instead is more reliable and robust. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-17Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: flacdec: read attached pictures. lavf: don't segfault when a NULL filename is passed to avformat_open_input() Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-16ffmenc: use av_assertMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-16flacdec: read attached pictures.Anton Khirnov
2012-06-16lavf: don't segfault when a NULL filename is passed to avformat_open_input()Anton Khirnov
This can easily happen when the caller is using a custom AVIOContext. Behave as if the filename was an empty string in this case. CC: libav-stable@libav.org
2012-06-15Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: af_resample: fix format modifier in debug string for FF_API_SAMPLERATE64 segment: remove unnecessary <strings.h> include fate: add snow hpel tests Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15segment: remove unnecessary <strings.h> includeJanne Grunau
2012-06-15nutenc: use av_assertMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15amr: use av_assert()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15lavf/aviobuf: use av_assert()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15lavf: cosmetic: format else with indentationMichael Bradshaw
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15lavf/{srt,microdvd}: correctly raise error on avformat_new_stream() error.Clément Bœsch
2012-06-15file: Fix handling of windows named pipesMartin Sliwka
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15avio: Collect and print statistics of bytes read & seeksMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15matroskadec: add assert on lack of overflow in pkt_size+offsetMichael Niedermayer
currently a overflow there should be impossible but future changes to the code could easily introduce a bug that no longer limits the 2 values sufficiently so better protect it via av_assert. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15matroskadec: change size check in matroska_decode_buffer() to unsignedMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15matroskadec: move lace_size check up so it catches all code pathesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15matroskadec: change assert to av_assert0()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15Fix incorrect unsigned->signed conversion.Dale Curtis
Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: Avoid C99 variable declarations within for statements. rtmp: Read and handle incoming packets while writing data doc: document THREAD_TYPE fate variable rtpdec: Don't require frames to start with a Mode A packet avconv: don't try to free threads that were not initialized. Conflicts: doc/fate.texi ffplay.c libavdevice/dv1394.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15riff: use av_assertMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15rawdec: use av_assert()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-15pcmdec: use av_assert()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-14rtmp: Read and handle incoming packets while writing dataSamuel Pitoiset
This makes sure all incoming packets are read and handled (and reacted to) while sending an FLV stream over RTMP to a server. If there were enough incoming data to fill the TCP buffers, this could potentially make things block at unexpected places. For the upcoming RTMPT support, we need to consume all incoming data before we can send the next request. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-14rtpdec: Don't require frames to start with a Mode A packetMartin Storsjö
While there is no reason for starting a frame with anything else than a Mode A packet, some senders seem to consistently use Mode B packets for everything. This fixes depacketization of such streams. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-14asfdec: fix returned error codesMartin T. H. Sandsmark
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-14Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: rtmp: Add a new option 'rtmp_buffer', for setting the client buffer time rtmp: Set the client buffer time to 3s instead of 0.26s rtmp: Handle server bandwidth packets rtmp: Display a verbose message when an unknown packet type is received lavfi/audio: use av_samples_copy() instead of custom code. configure: add all filters hardcoded into avconv to avconv_deps avfiltergraph: remove a redundant call to avfilter_get_by_name(). lavfi: allow building without swscale. build: Do not delete tests/vsynth2 directory, which is no longer created. lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs lavfi: make AVFilterPad opaque after two major bumps. lavfi: add avfilter_pad_get_type() and avfilter_pad_get_name(). lavfi: make avfilter_get_video_buffer() private on next bump. jack: update to new latency range API as the old one has been deprecated rtmp: Tokenize the AMF connection parameters manually instead of using strtok_r ppc: Rename H.264 optimization template file for consistency. lavfi: add channelsplit audio filter. golomb: check remaining bits during unary decoding in get_ur_golomb_jpegls() sws: fix planar RGB input conversions for 9/10/16 bpp. Conflicts: Changelog configure doc/APIchanges ffmpeg.c libavcodec/golomb.h libavcodec/v210dec.h libavfilter/Makefile libavfilter/allfilters.c libavfilter/asrc_anullsrc.c libavfilter/audio.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/avfiltergraph.c libavfilter/buffersrc.c libavfilter/formats.c libavfilter/version.h libavfilter/vf_frei0r.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/video.h libavfilter/vsrc_color.c libavformat/rtmpproto.c libswscale/input.c tests/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-13nutenc: use av_assertMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-13mpegtsenc: use av_assertMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-13rtmp: Add a new option 'rtmp_buffer', for setting the client buffer timeSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-13rtmp: Set the client buffer time to 3s instead of 0.26sSamuel Pitoiset
This factorizes existing code into a new function gen_buffer_time(), which generates the client buffer time message and sends it to the server. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-13rtmp: Handle server bandwidth packetsSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-13rtmp: Display a verbose message when an unknown packet type is receivedSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-13rtmp: Tokenize the AMF connection parameters manually instead of using strtok_rMartin Storsjö
This fixes builds on platforms without strtok_r (windows). Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-12rtmp: Fix a possible access to invalid memory location when the playpath is ↵Samuel Pitoiset
too short. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-12Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: avfilter: Log an error if avfilter fails to configure a link. avconv: support only native pthreads. rtmp: Fix a possible access to invalid memory location when the playpath is too short. Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-12lavf: add a "warning" when discarding a oddly backward subtitle or data ↵Michael Niedermayer
starttime Idea-by: ohsix Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-12lavf: handle data like subtitles in start time calculation.Michael Niedermayer
This fixes an issue with a crazy data track starting with a large negative timestamp. It could as well be solved in all user apps, but this is looking attractively simpler ... Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-12rtmpproto: replace strtok_r by av_strtok its unavailable in mingwMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-11Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: rtmp: Do not send extension for flv files rtmp: support connection parameters doc: Add documentation for the newly added rtmp_* options Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-11flvenc: use av_assert instead of assertMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-11rtmp: Do not send extension for flv filesSamuel Pitoiset
This fixes bugzilla bug #304. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-11rtmp: support connection parametersSamuel Pitoiset
Allow using connection parameters in order to append arbitrary AMF data like "B:1 S:authMe O:1 NN:code:1.23 NS:flag:ok O:0" to the Connect message. You can pass these parameters through the -rtmp_conn option. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-11mov: export orphan tmcd track metadata to global format metadata.Clément Bœsch
2012-06-11mov: copy timecode metadata from tmcd track to the related video stream.Clément Bœsch
Apple softwares seem not to add a tref for the timecode (the next commit fixes this issue), but at least FFmpeg does. This can be used to generate a sample that demonstrates the feature: ./ffmpeg -f lavfi -i testsrc \ -f lavfi -i mptestsrc \ -f lavfi -i rgbtestsrc \ -map 0 -map 1 -map 2 \ -metadata:s:0 timecode=00:00:00:12 \ -metadata:s:2 timecode=01:02:12:20 \ -t 10 -y out.mov ./ffprobe out.mov The timecode metadata being transmitted to the video streams, it can be kept while transmuxed/transcoded.
2012-06-11mov: parse tref atom.Clément Bœsch
2012-06-11movenc: add timecode track support.Clément Bœsch
2012-06-11riff: add ISMP/timecode tag.Clément Bœsch
2012-06-10mpegtsenc: prevent pcr_packet_period==0Michael Niedermayer
a period of 1 is the smallest that makes sense Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-09Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: h264: allow cropping to AVCodecContext.width/height mov: set AVCodecContext.width/height for h264 iac: generate codec tables as they are supposed to be indeo4: handle frame type 1 properly lavu: change versioning script to include all av* prefixed symbols Conflicts: libavcodec/h264.c libavutil/libavutil.v Merged-by: Michael Niedermayer <michaelni@gmx.at>