[FFmpeg-devel] [PATCH] cosmetic : img2 demuxer should print an error if url_fopen fails
Jai Menon
jmenon86
Sat Jun 20 09:31:27 CEST 2009
Hi,
Currently, nonexistent files are reported like :
jai at outrax ~/ffbuild $ ./ffplay nosuchfile.png
FFplay version git-610fbb4, Copyright (c) 2003-2009 Fabrice Bellard, et al.
configuration: --disable-optimizations --disable-mmx
--disable-ffserver --disable-stripping
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.32. 0 / 52.32. 0
libavformat 52.34. 0 / 52.34. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
built on Jun 19 2009 19:25:13, gcc: 4.3.2
[image2 @ 0xa256c80]Could not find codec parameters (Video: png)
nosuchfile.png: could not find codec parameters
This is potentially confusing. Trivial patch attached.
--
Regards,
Jai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-be-more-verbose-when-files-can-t-be-opened.patch
Type: text/x-patch
Size: 1609 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090620/ea80a7f2/attachment.bin>
More information about the ffmpeg-devel
mailing list