libavfilter woe

[auto-inserted resampler 0 @ 0370F920] chl:mono fmt:s16 r:48000Hz -> chl:mono fmt:s16 r:47104Hz
[auto-inserted resampler 1 @ 0370FA40] chl:mono fmt:s16 r:48000Hz -> chl:mono fmt:s16 r:47104Hz
[Parsed_aechocancel_2 @ 03E80E80] using number of samples 47104 for 1000 ms at 47104 hz
Output #0, wav, to ‘yo.wav’:
Metadata:
encoder : Lavf54.25.104
Stream #0:0, 0, 1/47104: Audio: pcm_s16le ([1][0][0][0] / 0×0001), 47104 Hz, mono, s16, 753 kb/s
Stream mapping:
Stream #0:0 (pcm_s16le) -> asetnsamples

 

the 47104 meant “you are advertising \

ff_set_common_samplerates(ctx, ff_make_format_list(sample_rates));

but should

ff_set_common_samplerates(ctx, (sample_rates));

sdl cross compile woe

when used with ffmpeg (static builds), got this:

Program received signal SIGSEGV, Segmentation fault.
0x00bd1741 in ColorRGBDitherYV12MMX1X (colortab=0xbbe4b2, rgb_2_pix=0x70c5cd8, lum=0x82de570 “”,
cr=0xb8a0020 ‘\020′ <repeats 200 times>…, cb=0xb8f4620 ‘\200′ <repeats 200 times>…, out=0xb9097a0 ‘\200′ <repeats 200 times>…,
rows=195035168, cols=480, mod=720) at ./src/video/SDL_yuv_mmx.c:94
94 ./src/video/SDL_yuv_mmx.c: No such file or directory.
in ./src/video/SDL_yuv_mmx.c

 

fix:

build with first setting

CFLAGS=

which thing is bizarre to me…