avformat/utils: Don't allocate zero-sized array

It is unnecessary and also ill-defined: av_malloc() returns a 1-byte
block of memory in this case, but this is not documented.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/365/head
Andreas Rheinhardt 3 years ago
parent e04ddba64f
commit bcbd84f435
Loading…
Cancel
Save