diff options
author | Andreas Rheinhardt <[email protected]> | 2019-12-26 11:53:34 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2019-12-26 22:48:44 +0100 |
commit | 28d02524a04d401fa7fca9823e3b7261a25613ab (patch) | |
tree | c0306367ba8efbb5114e4f989ae37bbab1d15acb /libavcodec/x86/pixblockdsp_init.c | |
parent | a94e6b50c663f569ae635d0972aa103eafd56243 (diff) |
avformat/flvenc: Forward errors from allocating keyframe index
While the function adding a new element to the keyframe index checked
the allocation, the caller didn't check the return value. This has been
changed. To do so, the return value has been changed to an ordinary ret
instead of pb->error. This doesn't pose a problem, as write_packet() in
mux.c already checks for write errors (since 9ad1e0c1).
Signed-off-by: Andreas Rheinhardt <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/x86/pixblockdsp_init.c')
0 files changed, 0 insertions, 0 deletions