ffmpeg/libavformat
Martin Storsjö 9856395344 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>
2015-02-28 22:53:38 +02:00
..
2014-05-18 10:19:35 +02:00
2014-07-29 17:47:32 +02:00
2014-07-09 13:37:18 +00:00
2015-02-19 12:05:19 -05:00
2012-11-12 10:33:18 -05:00
2015-02-15 18:20:54 +01:00
2013-02-06 09:48:51 +01:00
2014-10-20 10:38:38 +01:00
2013-10-06 19:36:53 +02:00
2012-11-12 10:33:18 -05:00
2014-09-25 01:44:31 -07:00
2014-07-03 10:46:11 -07:00
2014-07-03 10:46:11 -07:00
2015-02-19 12:05:19 -05:00
2013-08-07 21:22:03 +02:00
2012-06-28 16:53:09 +02:00
2014-11-22 22:10:52 +02:00
2012-10-25 14:05:05 +02:00
2014-03-10 18:02:55 +01:00
2014-03-10 18:02:36 +01:00
2013-10-31 20:20:24 +01:00
2014-10-24 09:53:45 +03:00
2014-10-20 10:38:37 +01:00
2012-11-12 10:33:19 -05:00
2014-12-08 13:53:30 +00:00
2012-06-21 16:11:29 +03:00
2014-09-25 01:44:32 -07:00
2014-09-25 01:58:51 -07:00
2013-04-25 10:13:27 +02:00
2013-12-26 06:07:35 +01:00
2015-02-17 12:16:43 -05:00
2014-12-07 21:50:47 +01:00
2014-03-24 02:22:15 +01:00
2014-08-26 03:43:13 +02:00
2014-08-05 11:30:50 +02:00
2014-04-19 16:24:27 +02:00
2014-08-17 16:11:16 +02:00
2014-08-17 16:11:02 +02:00
2014-03-16 23:29:51 +01:00
2014-05-28 22:04:56 +02:00
2015-02-17 12:16:43 -05:00
2014-12-18 23:27:07 +01:00
2015-02-15 18:20:54 +01:00
2015-02-07 15:36:15 +01:00
2012-10-25 14:05:13 +02:00
2015-02-24 23:07:50 +02:00
2015-02-22 22:42:27 +00:00
2012-08-07 16:00:24 +02:00
2012-07-23 16:32:07 +03:00
2012-07-23 16:32:07 +03:00
2014-11-28 20:56:45 +02:00
2014-12-18 23:11:37 +02:00
2015-02-24 23:07:50 +02:00
2015-02-21 23:37:24 +02:00
2012-07-10 22:00:28 +03:00
2015-02-23 16:55:56 +02:00
2014-10-24 09:53:45 +03:00
2014-12-18 23:11:37 +02:00
2014-04-06 16:41:41 +02:00
2014-11-24 01:30:15 +00:00
2014-12-18 11:58:23 +02:00
2012-12-11 09:37:17 -05:00
2012-11-12 10:33:22 -05:00
2012-11-12 10:33:22 -05:00
2014-04-22 07:44:16 +02:00
2014-07-06 09:25:52 -07:00
2012-11-12 10:33:22 -05:00