rtpenc_aac: Set a default value for max_frames_per_packet at init
authorMartin Storsjö <martin@martin.st>
Wed, 25 Feb 2015 21:34:36 +0000 (23:34 +0200)
committerMartin Storsjö <martin@martin.st>
Sat, 28 Feb 2015 20:53:46 +0000 (22:53 +0200)
commit0662440b991361fdb5e732712d997a73e4692e34
treecba447dad3eaf8c291d67e128dd01e96388c332b
parent12b3459979f5ea6481660cd2c99a0381e2b5ba37
rtpenc_aac: Set a default value for max_frames_per_packet at init

This avoids having to conditionally set the default within the
packetizer function.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpenc.c
libavformat/rtpenc_aac.c