Merge remote-tracking branch 'qatar/master'

* qatar/master:
  doc: Replace some @file tags by more suitable markup.
  fate: Set FUZZ factor of vorbis-13 test to 2.
  fate: Set FUZZ factor of (e)ac3-encode test to 3.
  fate: remove unused code from regressions-funcs.sh
  rtmp: Don't assume path points to a string of nonzero length
  avconv: fix behavior with -ss as an output option.

Conflicts:
	doc/platform.texi
	doc/protocols.texi
	ffmpeg.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
pull/30/merge
Michael Niedermayer 13 years ago
commit 31dfe20dd2
  1. 3
      doc/general.texi
  2. 8
      doc/platform.texi
  3. 6
      ffmpeg.c
  4. 5
      libavformat/rtmpproto.c
  5. 2
      tests/fate/ac3.mak
  6. 1
      tests/fate/vorbis.mak

@ -13,7 +13,8 @@
FFmpeg can be hooked up with a number of external libraries to add support FFmpeg can be hooked up with a number of external libraries to add support
for more formats. None of them are used by default, their use has to be for more formats. None of them are used by default, their use has to be
explicitly requested by passing the appropriate flags to @file{./configure}. explicitly requested by passing the appropriate flags to
@command{./configure}.
@section OpenJPEG @section OpenJPEG

@ -27,11 +27,11 @@ to configure.
@section BSD @section BSD
BSD make will not build FFmpeg, you need to install and use GNU Make BSD make will not build FFmpeg, you need to install and use GNU Make
(@file{gmake}). (@command{gmake}).
@section (Open)Solaris @section (Open)Solaris
GNU Make is required to build FFmpeg, so you have to invoke (@file{gmake}), GNU Make is required to build FFmpeg, so you have to invoke (@command{gmake}),
standard Solaris Make will not work. When building with a non-c99 front-end standard Solaris Make will not work. When building with a non-c99 front-end
(gcc, generic suncc) add either @code{--extra-libs=/usr/lib/values-xpg6.o} (gcc, generic suncc) add either @code{--extra-libs=/usr/lib/values-xpg6.o}
or @code{--extra-libs=/usr/lib/64/values-xpg6.o} to the configure options or @code{--extra-libs=/usr/lib/64/values-xpg6.o} to the configure options
@ -272,7 +272,7 @@ To create import libraries that work with the @code{/OPT:REF} option
@enumerate @enumerate
@item Open @file{Visual Studio 2005 Command Prompt}. @item Open @emph{Visual Studio 2005 Command Prompt}.
Alternatively, in a normal command line prompt, call @file{vcvars32.bat} Alternatively, in a normal command line prompt, call @file{vcvars32.bat}
which sets up the environment variables for the Visual C++ tools which sets up the environment variables for the Visual C++ tools
@ -282,7 +282,7 @@ which sets up the environment variables for the Visual C++ tools
@item Enter the @file{bin} directory where the created LIB and DLL files @item Enter the @file{bin} directory where the created LIB and DLL files
are stored. are stored.
@item Generate new import libraries with @file{lib.exe}: @item Generate new import libraries with @command{lib.exe}:
@example @example
lib /machine:i386 /def:..\lib\foo-version.def /out:foo.lib lib /machine:i386 /def:..\lib\foo-version.def /out:foo.lib

@ -2028,8 +2028,10 @@ static int poll_filters(void)
//if (ost->source_index >= 0) //if (ost->source_index >= 0)
// *filtered_frame= *input_streams[ost->source_index]->decoded_frame; //for me_threshold // *filtered_frame= *input_streams[ost->source_index]->decoded_frame; //for me_threshold
if (of->start_time && filtered_frame->pts < of->start_time) if (of->start_time && filtered_frame->pts < of->start_time) {
return 0; avfilter_unref_buffer(picref);
continue;
}
switch (ost->filter->filter->inputs[0]->type) { switch (ost->filter->filter->inputs[0]->type) {
case AVMEDIA_TYPE_VIDEO: case AVMEDIA_TYPE_VIDEO:

@ -895,9 +895,10 @@ static int rtmp_open(URLContext *s, const char *uri, int flags)
fname = path + 10; fname = path + 10;
memcpy(rt->app, "ondemand", 9); memcpy(rt->app, "ondemand", 9);
} else { } else {
char *p = strchr(path + 1, '/'); char *next = *path ? path + 1 : path;
char *p = strchr(next, '/');
if (!p) { if (!p) {
fname = path + 1; fname = next;
rt->app[0] = '\0'; rt->app[0] = '\0';
} else { } else {
char *c = strchr(p + 1, ':'); char *c = strchr(p + 1, ':');

@ -35,6 +35,7 @@ fate-ac3-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
fate-ac3-encode: CMP_SHIFT = -1024 fate-ac3-encode: CMP_SHIFT = -1024
fate-ac3-encode: CMP_TARGET = 399.62 fate-ac3-encode: CMP_TARGET = 399.62
fate-ac3-encode: SIZE_TOLERANCE = 488 fate-ac3-encode: SIZE_TOLERANCE = 488
fate-ac3-encode: FUZZ = 3
FATE_AC3 += fate-eac3-encode FATE_AC3 += fate-eac3-encode
fate-eac3-encode: CMD = enc_dec_pcm eac3 wav s16le $(REF) -c:a eac3 -b:a 128k fate-eac3-encode: CMD = enc_dec_pcm eac3 wav s16le $(REF) -c:a eac3 -b:a 128k
@ -43,6 +44,7 @@ fate-eac3-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
fate-eac3-encode: CMP_SHIFT = -1024 fate-eac3-encode: CMP_SHIFT = -1024
fate-eac3-encode: CMP_TARGET = 514.02 fate-eac3-encode: CMP_TARGET = 514.02
fate-eac3-encode: SIZE_TOLERANCE = 488 fate-eac3-encode: SIZE_TOLERANCE = 488
fate-eac3-encode: FUZZ = 3
FATE_AVCONV += $(FATE_AC3) FATE_AVCONV += $(FATE_AC3)
fate-ac3: $(FATE_AC3) fate-ac3: $(FATE_AC3)

@ -49,6 +49,7 @@ fate-vorbis-12: REF = $(SAMPLES)/vorbis/mono_small.pcm
FATE_VORBIS += fate-vorbis-13 FATE_VORBIS += fate-vorbis-13
fate-vorbis-13: CMD = pcm -i $(SAMPLES)/vorbis/moog_small.ogg fate-vorbis-13: CMD = pcm -i $(SAMPLES)/vorbis/moog_small.ogg
fate-vorbis-13: REF = $(SAMPLES)/vorbis/moog_small.pcm fate-vorbis-13: REF = $(SAMPLES)/vorbis/moog_small.pcm
fate-vorbis-13: FUZZ = 2
FATE_VORBIS += fate-vorbis-14 FATE_VORBIS += fate-vorbis-14
fate-vorbis-14: CMD = pcm -i $(SAMPLES)/vorbis/rc1-test_small.ogg fate-vorbis-14: CMD = pcm -i $(SAMPLES)/vorbis/rc1-test_small.ogg

Loading…
Cancel
Save