[FFmpeg-devel] [PATCH] Detect Windows Media DRM protected files and display warning

Daniel G. Taylor dan
Fri Oct 9 14:23:50 CEST 2009


On Fri, 2009-10-09 at 14:03 +0200, Benjamin Larsson wrote:
> In this case decryption is possible if the key is provided. I think it 
> would be preferable if this message is only printed it there is no key 
> specified.

Good point, I wasn't aware FFmpeg could do that. Updated patch attached
which only displays the messages when AVFormatContext has no decryption
key set. If a key is set then it's assumed the user knows the content is
encrypted.

Take care,
-- 
Daniel G. Taylor
http://programmer-art.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: detect_wmdrm.diff
Type: text/x-patch
Size: 2667 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091009/253b6bda/attachment.bin>



More information about the ffmpeg-devel mailing list