Does not compile on present archlinux

Issue #21 resolved
Former user created an issue

This is error during compilation: CC minidlnad-upnphttp.o In file included from upnphttp.c:89: libav.h: In function ‘lav_is_thumbnail_stream’: libav.h:172:14: error: ‘AVStream’ has no member named ‘codec’ 172 | s->codec->codec_id == AV_CODEC_ID_MJPEG) | ^~

Comments (3)

  1. Aleteoryx

    you can fix this by replacing all accesses to AVStream.codec with codecpar, all accesses to AVFormatContext.filename with url, and removing all calls to av_register_all

  2. Log in to comment