[FFmpeg-devel] [PATCH 5/7] lavf/file: implement directory listing callbacks

Michael Niedermayer michaelni at gmx.at
Fri Mar 20 14:19:01 CET 2015


On Fri, Mar 20, 2015 at 03:02:00AM +0100, Mariusz Szczepańczyk wrote:
> From: Lukasz Marek <lukasz.m.luki2 at gmail.com>
> 
> Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
> ---
>  libavformat/file.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 87 insertions(+)

fails to build on mingw:
ffmpeg/libavformat/file.c: In function ‘file_read_dir’:
ffmpeg/libavformat/file.c:239:16: error: ‘struct dirent’ has no member named ‘d_type’
ffmpeg/libavformat/file.c:240:10: error: ‘DT_FIFO’ undeclared (first use in this function)
ffmpeg/libavformat/file.c:240:10: note: each undeclared identifier is reported only once for each function it appears in
ffmpeg/libavformat/file.c:243:10: error: ‘DT_CHR’ undeclared (first use in this function)
ffmpeg/libavformat/file.c:246:10: error: ‘DT_DIR’ undeclared (first use in this function)
ffmpeg/libavformat/file.c:249:10: error: ‘DT_BLK’ undeclared (first use in this function)
ffmpeg/libavformat/file.c:252:10: error: ‘DT_REG’ undeclared (first use in this function)
ffmpeg/libavformat/file.c:255:10: error: ‘DT_LNK’ undeclared (first use in this function)
ffmpeg/libavformat/file.c:258:10: error: ‘DT_SOCK’ undeclared (first use in this function)
ffmpeg/libavformat/file.c:261:10: error: ‘DT_UNKNOWN’ undeclared (first use in this function)


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150320/48edb512/attachment.asc>


More information about the ffmpeg-devel mailing list