[FFmpeg-trac] #495(avcodec:closed): Crash on hidef WMV file
FFmpeg
trac at avcodec.org
Tue Mar 13 22:17:18 CET 2012
#495: Crash on hidef WMV file
------------------------------------+-----------------------------------
Reporter: DonMoir | Owner:
Type: defect | Status: closed
Priority: important | Component: avcodec
Version: git-master | Resolution: fixed
Keywords: wmapro | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by DonMoir):
Does not crash for me anymore either. This file is marked as
encrypted/protected and so useful in that sense.
AVDictionaryEntry* pEntry = av_dict_get
(pFormatCtx->metadata,"encryption",NULL,0);
For the above file, pEntry will be valid.
The other protected type is:
AVDictionaryEntry* pEntry = av_dict_get
(pFormatCtx->metadata,"ASF_Protection_Type",NULL,0);
In either of the above 2 cases, decoding is likely to fail, but no crash
anymore. I currently reject files if either "encryption" or
"ASF_Protection_Type" are detected but removed the check to test for
crash.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/495#comment:19>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list