aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hqxdsp.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-29 22:18:52 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-19 17:05:33 +0200
commite6bfb14223e44b4110c1d171d1ecffe9c80302a8 (patch)
tree068cd711ecbc3523059a10c611b8a4923a78795c /libavcodec/hqxdsp.c
parentc8707c105fc7cf3cd2ca59a5f2e645d129369d98 (diff)
downloadffmpeg-e6bfb14223e44b4110c1d171d1ecffe9c80302a8.tar.gz
avcodec/aptxdec: Process data in complete blocks only
The APTX (HD) decoder decodes blocks of four (six) bytes to four output samples. It makes no sense to handle incomplete blocks: They would just lead to synchronization errors, in which case the complete frame is discarded. So only handle complete blocks. This also avoids reading from the packet's padding and writing into the frame's padding. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/hqxdsp.c')
0 files changed, 0 insertions, 0 deletions