avformat/hashenc: add streamhash muxer

Implemented as a variant of the hash muxer, reusing most functions,
and making use of the previously introduced array of hashes.

Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Moritz Barsnick
2019-09-12 11:23:06 +02:00
committed by Michael Niedermayer
parent 666b427881
commit 2f87c9f646
6 changed files with 142 additions and 12 deletions

View File

@@ -393,6 +393,7 @@ extern AVInputFormat ff_srt_demuxer;
extern AVOutputFormat ff_srt_muxer;
extern AVInputFormat ff_str_demuxer;
extern AVInputFormat ff_stl_demuxer;
extern AVOutputFormat ff_streamhash_muxer;
extern AVInputFormat ff_subviewer1_demuxer;
extern AVInputFormat ff_subviewer_demuxer;
extern AVInputFormat ff_sup_demuxer;