aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avfft.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-31 10:45:48 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-01 19:08:11 +0200
commit15ef16dce8b69200a972a0ea6aa9026ab79e09ad (patch)
treea9423177accab4eb18d45735d9b2ebf34fbae90b /libavcodec/avfft.c
parent8129c32e488645db325263a6bee01311b83e7ed9 (diff)
downloadffmpeg-15ef16dce8b69200a972a0ea6aa9026ab79e09ad.tar.gz
avcodec/g723_1enc: Avoid skip_put_bits()
If a bit is reserved, it matters very much what value it has, because otherwise a decoder conforming to a future version of the standard might interpret the output file in an unintended manner. This implies that one must not use skip_put_bits() for it (which does not give any guarantees wrt what ends up in the output (in case of a little-endian bitstream writer (as here) it writes a 0 bit)); given that the reference encoder as well as the earlier code write a zero bit at this place, the new code does, too. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/avfft.c')
0 files changed, 0 insertions, 0 deletions