From 3b4bb19e63b41a0a542ba3ef254443b2e76a6a3e Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 9 Sep 2012 21:35:23 +0200 Subject: lavf: flush the output AVIOContext in av_write_trailer(). This is consistent with stdio and is what we want to do in all cases. Fixes a bug in the voc muxer which didn't flush in write_trailer() previously. This is the cause of the change in the test results. --- tests/ref/lavf/voc | 6 +++--- tests/ref/lavf/voc_s16 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/ref/lavf/voc b/tests/ref/lavf/voc index 25e8b44434..ea903b6ce7 100644 --- a/tests/ref/lavf/voc +++ b/tests/ref/lavf/voc @@ -1,3 +1,3 @@ -b0bc287ce4e3eef7c1012610dd7ff6d0 *./tests/data/lavf/lavf.voc -32768 ./tests/data/lavf/lavf.voc -./tests/data/lavf/lavf.voc CRC=0xa2d77c12 +5c4ee01048e7a8a138a97e80cf7a1924 *./tests/data/lavf/lavf.voc +45261 ./tests/data/lavf/lavf.voc +./tests/data/lavf/lavf.voc CRC=0x74b2b546 diff --git a/tests/ref/lavf/voc_s16 b/tests/ref/lavf/voc_s16 index 425d9655ad..d53c9506e6 100644 --- a/tests/ref/lavf/voc_s16 +++ b/tests/ref/lavf/voc_s16 @@ -1,3 +1,3 @@ -b20728bf036d2e23508869acbad4e576 *./tests/data/lavf/lavf.s16.voc -163840 ./tests/data/lavf/lavf.s16.voc -./tests/data/lavf/lavf.s16.voc CRC=0xfa9b6c39 +8ed10b311e49b4d4b18679b126492159 *./tests/data/lavf/lavf.s16.voc +180437 ./tests/data/lavf/lavf.s16.voc +./tests/data/lavf/lavf.s16.voc CRC=0x7bd585ff -- cgit v1.2.3