Removed deprecated libav url_feof function
Fixed replacement to deprecated url_feof
Added #include <libavutil/channel_layout.h> for av_get_default_channel_layout