aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2018-10-08 15:51:41 +0200
committerMartin Vignali <martin.vignali@gmail.com>2018-10-18 21:39:06 +0200
commite832d769f46531a07e2e306c8e483661a757b1fc (patch)
treea686f29d4789c9888ed1b324e86a09cb1b8b032c
parentc51b36ec8f707b34a4ef4a8a470eb854742a99e5 (diff)
downloadffmpeg-e832d769f46531a07e2e306c8e483661a757b1fc.tar.gz
avcodec/proresenc_aw : use for frame flag in the header the same value than the official encoder
-rw-r--r--libavcodec/proresenc_anatoliy.c2
-rw-r--r--tests/ref/vsynth/vsynth1-prores2
-rw-r--r--tests/ref/vsynth/vsynth2-prores2
-rw-r--r--tests/ref/vsynth/vsynth3-prores2
-rw-r--r--tests/ref/vsynth/vsynth_lena-prores2
5 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c
index c723fbf540..6b9ce4a59a 100644
--- a/libavcodec/proresenc_anatoliy.c
+++ b/libavcodec/proresenc_anatoliy.c
@@ -553,7 +553,7 @@ static int prores_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
if (avctx->profile == FF_PROFILE_PRORES_444) {
*buf++ = 0xC2; // 444, not interlaced
} else {
- *buf++ = 0x83; // 422, not interlaced
+ *buf++ = 0x82; // 422, not interlaced
}
*buf++ = 0;
*buf++ = pict->color_primaries;
diff --git a/tests/ref/vsynth/vsynth1-prores b/tests/ref/vsynth/vsynth1-prores
index ee9d1712f1..65686aeca1 100644
--- a/tests/ref/vsynth/vsynth1-prores
+++ b/tests/ref/vsynth/vsynth1-prores
@@ -1,4 +1,4 @@
-27a1293adf92cc0330652e4e81a9328d *tests/data/fate/vsynth1-prores.mov
+ec1d32acb0f6035ca45ad7d395d4a586 *tests/data/fate/vsynth1-prores.mov
5022821 tests/data/fate/vsynth1-prores.mov
fb4a9e025d12afc0dbbca8d82831858f *tests/data/fate/vsynth1-prores.out.rawvideo
stddev: 2.47 PSNR: 40.27 MAXDIFF: 31 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-prores b/tests/ref/vsynth/vsynth2-prores
index aed9e3e3f5..63bc8a8f30 100644
--- a/tests/ref/vsynth/vsynth2-prores
+++ b/tests/ref/vsynth/vsynth2-prores
@@ -1,4 +1,4 @@
-71d83e64060c122f440b288a042f7c0b *tests/data/fate/vsynth2-prores.mov
+27fa0f1ecb2dbe1510582ec6d01cc81d *tests/data/fate/vsynth2-prores.mov
3260123 tests/data/fate/vsynth2-prores.mov
416fa8773615889c70491452428d6710 *tests/data/fate/vsynth2-prores.out.rawvideo
stddev: 1.38 PSNR: 45.29 MAXDIFF: 12 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth3-prores b/tests/ref/vsynth/vsynth3-prores
index 47afc4f9df..2998dc1d79 100644
--- a/tests/ref/vsynth/vsynth3-prores
+++ b/tests/ref/vsynth/vsynth3-prores
@@ -1,4 +1,4 @@
-f41aa3ce23eea73be3e207d5d0f18219 *tests/data/fate/vsynth3-prores.mov
+6afd345a8f799d0459229349a30497cd *tests/data/fate/vsynth3-prores.mov
105367 tests/data/fate/vsynth3-prores.mov
fff5e7ad21d78501c8fa4749bf4bf289 *tests/data/fate/vsynth3-prores.out.rawvideo
stddev: 2.80 PSNR: 39.17 MAXDIFF: 27 bytes: 86700/ 86700
diff --git a/tests/ref/vsynth/vsynth_lena-prores b/tests/ref/vsynth/vsynth_lena-prores
index fb4035cd16..41b8e16bf0 100644
--- a/tests/ref/vsynth/vsynth_lena-prores
+++ b/tests/ref/vsynth/vsynth_lena-prores
@@ -1,4 +1,4 @@
-09ef7f879fa65d6626dde9a88f1674c9 *tests/data/fate/vsynth_lena-prores.mov
+952c0dfde2b3d238c2ef411782f309a6 *tests/data/fate/vsynth_lena-prores.mov
2844076 tests/data/fate/vsynth_lena-prores.mov
03fd29e3963716a09d232b6f817ecb57 *tests/data/fate/vsynth_lena-prores.out.rawvideo
stddev: 1.31 PSNR: 45.77 MAXDIFF: 11 bytes: 7603200/ 7603200