aboutsummaryrefslogtreecommitdiffstats
path: root/tools/uncoded_frame.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-30 09:24:51 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-02 07:28:35 +0100
commit0b934f8f17c19be6b73cc5ecc9a23f7451bee5d0 (patch)
tree2cdb9c51a3373b84e0d9de8e233cd37d87dbd793 /tools/uncoded_frame.c
parentbb89a2f64fd1d74cc51af62d5ef133be274dd7af (diff)
downloadffmpeg-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 'tools/uncoded_frame.c')
0 files changed, 0 insertions, 0 deletions