linuxstb / pidvbip

tvheadend client for the Raspberry Pi
http://www.pidvbip.org
GNU General Public License v2.0
53 stars 22 forks source link

update for libavcodec version 55 ( AV_ prefixes) #42

Open mikerr opened 7 years ago

mikerr commented 7 years ago

Fixes a compile error with recent versions of libavcodec

avplay.c:60:36: error: parameter 1 (‘id’) has incomplete type static int map_vcodec(enum CodecID id) ^~ avplay.c: In function ‘map_vcodec’: avplay.c:64:13: error: ‘CODEC_ID_MPEG2VIDEO’ undeclared (first use in this function) case CODEC_ID_MPEG2VIDEO:

libavcoded versions after 55 now prefix codecIDs with the letters AV

mpmc commented 7 years ago

Just to say nice to see people contributing to pidvbip & I'm looking forward to trying out these changes when I get the chance!