History

lavc: add null codecs

They discard all input without ever returning any output. Useful for development.

Anton Khirnov committed 3 years ago

Commit e3a99041 parent 229f3255 files · +129 −0Browse files

Showing the changes to libavcodec/allcodecs.c (1 of 5 files). Show all

Unified · Split

libavcodec/allcodecs.c+6−0
@@ -884,6 +884,12 @@ extern const FFCodec ff_vp9_qsv_decoder; · 883 unmodified lines
884extern const FFCodec ff_vp9_vaapi_encoder;884extern const FFCodec ff_vp9_vaapi_encoder;
885extern const FFCodec ff_vp9_qsv_encoder;885extern const FFCodec ff_vp9_qsv_encoder;
886 886
887// null codecs
888extern const FFCodec ff_vnull_decoder;
889extern const FFCodec ff_vnull_encoder;
890extern const FFCodec ff_anull_decoder;
891extern const FFCodec ff_anull_encoder;
892
887// The iterate API is not usable with ossfuzz due to the excessive size of binaries created893// The iterate API is not usable with ossfuzz due to the excessive size of binaries created
888#if CONFIG_OSSFUZZ894#if CONFIG_OSSFUZZ
889const FFCodec * codec_list[] = {895const FFCodec * codec_list[] = {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t