view tests/refupdate.sh @ 35281:fbd8efe9e5a8

Support decoding fourcc GXVE with FFmpeg's wmv2 decoder. Found by Piotr Bandurski
author cehoyos
date Sat, 10 Nov 2012 10:56:36 +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