[FFmpeg-devel] [PATCH] pixdesc: Add av_get_pix_fmt_descriptor()
Tomas Härdin
tomas.hardin
Thu Jul 8 14:48:29 CEST 2010
Hi
While poking around with MinGW compiled lav* DLLs in MSVC I noticed
link.exe can't resolve references to av_pix_fmt_descriptors. This is due
to how import libraries work, but I'm not an expert. The important thing
is that only functions get exported properly - globals don't.
To fix this I propose the lavu API be extended with a function called
av_get_pix_fmt_descriptor which returns a pointer to an
AVPixFmtDescriptor for a specified format.
There are probably more globals that have this problem, but some quick
greping didn't yield many results.
Patch attached. Minor version bump included.
(I assume av_pix_fmt_descriptors is meant to be user accessible since
ffplay uses it and certain information contained within can't be
accessed any other way)
/Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pix_desc.patch
Type: text/x-patch
Size: 1448 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100708/43b3177b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100708/43b3177b/attachment.pgp>
More information about the ffmpeg-devel
mailing list