[FFmpeg-devel] [PATCH]Allow opening image files that are only readable by others

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Nov 11 13:10:07 CET 2012


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> +    ret |= st.st_mode&(S_IRUSR|S_IROTH) ? mask&AVIO_FLAG_READ  : 0;

S_IRGRP is needed for the following:
--w-r----- 1 root users 196668 Oct 21 19:06 tests/lena.pnm

Carl Eugen



More information about the ffmpeg-devel mailing list