Bug 237092 - multimedia/ffmpeg: build fail with SVT-AV1
Summary: multimedia/ffmpeg: build fail with SVT-AV1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-08 05:48 UTC by Ivan Rozhuk
Modified: 2019-04-08 15:06 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (multimedia)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2019-04-08 05:48:02 UTC
libavcodec/libsvt_av1.c:225:14: error: no member named 'yStride' in 'struct EbSvtIOFormat'; did you mean 'y_stride'?
    in_data->yStride  = frame->linesize[0] >> is16bit;
             ^~~~~~~
             y_stride
/usr/local/include/svt-av1/EbSvtAv1.h:138:14: note: 'y_stride' declared here
    uint32_t y_stride;
             ^
libavcodec/libsvt_av1.c:226:14: error: no member named 'cbStride' in 'struct EbSvtIOFormat'; did you mean 'cb_stride'?
    in_data->cbStride = frame->linesize[1] >> is16bit;
             ^~~~~~~~
             cb_stride
/usr/local/include/svt-av1/EbSvtAv1.h:140:14: note: 'cb_stride' declared here
    uint32_t cb_stride;
             ^
libavcodec/libsvt_av1.c:227:14: error: no member named 'crStride' in 'struct EbSvtIOFormat'; did you mean 'cr_stride'?
    in_data->crStride = frame->linesize[2] >> is16bit;
             ^~~~~~~~
             cr_stride
/usr/local/include/svt-av1/EbSvtAv1.h:139:14: note: 'cr_stride' declared here
    uint32_t cr_stride;
             ^
libavcodec/libsvt_av1.c:299:1: warning: unused label 'failed_init_enc' [-Wunused-label]
failed_init_enc:
^~~~~~~~~~~~~~~~
1 warning and 3 errors generated.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-04-08 15:06:41 UTC
A commit references this bug:

Author: jbeich
Date: Mon Apr  8 15:06:25 UTC 2019
New revision: 498378
URL: https://svnweb.freebsd.org/changeset/ports/498378

Log:
  multimedia/ffmpeg: unbreak SVTAV1 after r498218

  API changed but ABI remained the same e.g., yStride -> y_stride
  https://github.com/OpenVisualCloud/SVT-AV1/commit/33b0e1c7da2d

  PR:		237092
  Reported by:	rozhuk.im@gmail.com

Changes:
  head/multimedia/ffmpeg/Makefile
  head/multimedia/ffmpeg/distinfo