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
884884 extern const FFCodec ff_vp9_vaapi_encoder;
885885 extern const FFCodec ff_vp9_qsv_encoder;
886886
887+// null codecs
888+extern const FFCodec ff_vnull_decoder;
889+extern const FFCodec ff_vnull_encoder;
890+extern const FFCodec ff_anull_decoder;
891+extern const FFCodec ff_anull_encoder;
892+
887893 // The iterate API is not usable with ossfuzz due to the excessive size of binaries created
888894 #if CONFIG_OSSFUZZ
889895 const 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