Commit 4b8a89f9 authored by Jan Beich's avatar Jan Beich
Browse files

MFH: r425315

multimedia/nordlicht: unbreak build with ffmpeg 3.x

image.c:28:24: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24'?
    i->frame->format = PIX_FMT_RGB24; // best choice?
                       ^~~~~~~~~~~~~
                       AV_PIX_FMT_RGB24
/usr/local/include/libavutil/pixfmt.h:64:5: note: 'AV_PIX_FMT_RGB24' declared here
    AV_PIX_FMT_RGB24,     ///< packed RGB 8:8:8, 24bpp, RGBRGB...
    ^
image.c:243:32: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24'?
    encoder_context->pix_fmt = PIX_FMT_RGB24;
                               ^~~~~~~~~~~~~
                               AV_PIX_FMT_RGB24
/usr/local/include/libavutil/pixfmt.h:64:5: note: 'AV_PIX_FMT_RGB24' declared here
    AV_PIX_FMT_RGB24,     ///< packed RGB 8:8:8, 24bpp, RGBRGB...
    ^

PR:		214196
Submitted by:	Tobias Kortkamp <t@tobik.me> (maintainer)
Obtained from:	upstream
Approved by:	ports-secteam blanket
parent 7fe69321
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment