On Mon, Aug 12, 2019 at 2:56 PM Moritz Barsnick wrote:
> On Sun, Aug 11, 2019 at 15:57:46 +0200, Nicolas George wrote:
> > > +c->hashes = av_malloc_array(1, sizeof(c->hashes));
> > > +if (!c->hashes)
> > > +return AVERROR(ENOMEM);
> > > +res = av_hash_alloc(&c->hashes[0], c->h
On Sun, Aug 11, 2019 at 15:57:46 +0200, Nicolas George wrote:
> > +c->hashes = av_malloc_array(1, sizeof(c->hashes));
> > +if (!c->hashes)
> > +return AVERROR(ENOMEM);
> > +res = av_hash_alloc(&c->hashes[0], c->hash_name);
> > +if (res < 0) {
> > +av_freep(&c->hashes
Moritz Barsnick (12019-08-11):
> Only the first one used currently.
>
> Signed-off-by: Moritz Barsnick
> ---
> libavformat/hashenc.c | 58 +++
> 1 file changed, 36 insertions(+), 22 deletions(-)
>
> diff --git a/libavformat/hashenc.c b/libavformat/hashenc
Only the first one used currently.
Signed-off-by: Moritz Barsnick
---
libavformat/hashenc.c | 58 +++
1 file changed, 36 insertions(+), 22 deletions(-)
diff --git a/libavformat/hashenc.c b/libavformat/hashenc.c
index 06fc085d18..7f83df5cca 100644
--- a/li