summaryrefslogtreecommitdiff
path: root/libavcodec/amrwbdata.h
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-01-29 22:46:37 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2020-04-05 01:55:34 +0200
commitbef3c14dd1a9a38d996497da7ea416aa372283bf (patch)
tree92e472ff9d0a4ae67bda07401314906d1a20e66a /libavcodec/amrwbdata.h
parent56f59246293de417d27ea7e27cb9a7727ee579fb (diff)
lavc/amrwbdec: Do not ignore NO_DATA frames.
Fixes the actual output duration of the sample in ticket #7113.
Diffstat (limited to 'libavcodec/amrwbdata.h')
-rw-r--r--libavcodec/amrwbdata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/amrwbdata.h b/libavcodec/amrwbdata.h
index 8a8cbfdddf..95c0aaa37b 100644
--- a/libavcodec/amrwbdata.h
+++ b/libavcodec/amrwbdata.h
@@ -1884,7 +1884,7 @@ static const float lpf_7_coef[31] = { // low pass, 7kHz cutoff
/** Core frame sizes in each mode */
static const uint16_t cf_sizes_wb[] = {
132, 177, 253, 285, 317, 365, 397, 461, 477,
- 40 /// SID/comfort noise frame
+ 40, 0, 0, 0, 0, 0, 0
};
#endif /* AVCODEC_AMRWBDATA_H */