avformat/mp3dec: check the number of frames per buffer size