view tests/refupdate.sh @ 35863:2e8a3822bd84

Define AVCODEC_MAX_AUDIO_FRAME_SIZE. This is definitely not correct but fixes compilation with current FFmpeg until a correct solution is implemented.
author cehoyos
date Tue, 12 Mar 2013 21:46:01 +0000
parents 6dc79618ec0e
children
line wrap: on
line source

#!/bin/sh
# updates all changed/new results in ref/
find res -name '*.bad' | while read bad_res ; do
  ref_file="ref/${bad_res#res/}"
  ref_file="${ref_file%.bad}"
  mkdir -p "$(dirname "$ref_file")"
  cp "$bad_res" "$ref_file"
done