diff options
author | Martin Storsjö <[email protected]> | 2013-03-01 16:45:24 +0200 |
---|---|---|
committer | Martin Storsjö <[email protected]> | 2013-03-02 00:39:37 +0200 |
commit | c5a738ca4e9789b4678b10240777d931e7dc24c9 (patch) | |
tree | 499800628a9d55987cc56340fd993e45fbec9a4e /libavutil/random_seed.c | |
parent | c91c63b5380bf79655c09320774a022f84d76fd5 (diff) |
flvdec: Check the return value of a malloc
The callers of this function can't report errors sanely. If this
one malloc fails, don't write the extradata byte, make sure we
try to malloc it the next time we're called instead, and make sure
we still consume the input data byte.
CC: [email protected]
Signed-off-by: Martin Storsjö <[email protected]>
Diffstat (limited to 'libavutil/random_seed.c')
0 files changed, 0 insertions, 0 deletions