[FFmpeg-devel] [PATCH 02/12] ffv1dec: use dedicated pix_fmt field and call ff_get_format

Michael Niedermayer michael at niedermayer.cc
Mon Jan 20 05:13:26 EET 2025


On Sun, Jan 19, 2025 at 07:36:20PM +0900, Lynne wrote:
> Adding support for hwaccels means that avctx->pix_fmt will indicate
> hardware formats.
> ---
>  libavcodec/ffv1.h    |   1 +
>  libavcodec/ffv1dec.c | 145 +++++++++++++++++++++++--------------------
>  2 files changed, 79 insertions(+), 67 deletions(-)

fails on my old ubuntu

--- ./tests/ref/vsynth/vsynth1-ffv1-v3-rgb48	2025-01-05 20:53:25.659847546 +0100
+++ tests/data/fate/vsynth1-ffv1-v3-rgb48	2025-01-20 04:12:49.127448635 +0100
@@ -1,4 +1,4 @@
 f457dba7d58f0c28aedcfef518758d23 *tests/data/fate/vsynth1-ffv1-v3-rgb48.avi
 16858304 tests/data/fate/vsynth1-ffv1-v3-rgb48.avi
-e2542b84193de462b04da530ab941f31 *tests/data/fate/vsynth1-ffv1-v3-rgb48.out.rawvideo
-stddev:    3.52 PSNR: 37.19 MAXDIFF:   74 bytes:  7603200/  7603200
+2dc8a935cdcaa45b1d1968115ebd702e *tests/data/fate/vsynth1-ffv1-v3-rgb48.out.rawvideo
+stddev:   64.67 PSNR: 11.92 MAXDIFF:  225 bytes:  7603200/  7603200
Test vsynth1-ffv1-v3-rgb48 failed. Look at tests/data/fate/vsynth1-ffv1-v3-rgb48.err for details.
make: *** [tests/Makefile:311: fate-vsynth1-ffv1-v3-rgb48] Error 1

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250120/71d42e02/attachment.sig>


More information about the ffmpeg-devel mailing list