diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-11-30 09:24:51 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-02 07:28:35 +0100 |
commit | 0b934f8f17c19be6b73cc5ecc9a23f7451bee5d0 (patch) | |
tree | 2cdb9c51a3373b84e0d9de8e233cd37d87dbd793 /libavcodec/opus.h | |
parent | bb89a2f64fd1d74cc51af62d5ef133be274dd7af (diff) | |
download | ffmpeg-0b934f8f17c19be6b73cc5ecc9a23f7451bee5d0.tar.gz |
avcodec/movtextenc: Reset AVBPrint at the beginning, not end of encoding
This avoids abusing a variable called length for the return value
and ensures that the AVBPrint is always reset before using it;
previously this has been forgotten in some error paths.
Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/opus.h')
0 files changed, 0 insertions, 0 deletions