src/io/source_avcodec.c: rename hack to _reset_resampler, move up for clarity