lavc: Add wrapped_avframe decoder
Intended for use with hardware frames for which rawvideo is not sufficient. Requires the trusted packet flag to be set - decoding fails if not to avoid security issues (the wrapped AVFrame can contain pointers to arbitrary data).
This commit is contained in:
parent
82342cead1
commit
c8dea81921
4 changed files with 39 additions and 2 deletions
|
@ -377,7 +377,7 @@ static void register_all(void)
|
|||
REGISTER_DECODER(VQA, vqa);
|
||||
REGISTER_DECODER(BITPACKED, bitpacked);
|
||||
REGISTER_DECODER(WEBP, webp);
|
||||
REGISTER_ENCODER(WRAPPED_AVFRAME, wrapped_avframe);
|
||||
REGISTER_ENCDEC (WRAPPED_AVFRAME, wrapped_avframe);
|
||||
REGISTER_ENCDEC (WMV1, wmv1);
|
||||
REGISTER_ENCDEC (WMV2, wmv2);
|
||||
REGISTER_DECODER(WMV3, wmv3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue