aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hpeldsp.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-02-25 23:55:58 +0200
committerMartin Storsjö <martin@martin.st>2015-02-28 22:53:38 +0200
commit98563953442560dd83aab938f86de3e5a22a891f (patch)
treef94ff14e556f9ca26af0e6ea4baadebfb75429aa /libavcodec/hpeldsp.c
parent990e4a6639d0714198583c2812b1074b5751898f (diff)
downloadffmpeg-98563953442560dd83aab938f86de3e5a22a891f.tar.gz
rtpenc_aac: Fix sending fragmented frames
After sending a fragmented frame, len (s->buf_ptr - s->buf) isn't zero, while s->num_frames is zero as intended. Using s->num_frames makes it work as intended, and is less convoluted than keeping track of (resetting) s->buf_ptr. This avoids sending stray data after sending a fragmented aac packet. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/hpeldsp.c')
0 files changed, 0 insertions, 0 deletions